LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
ScColContainer Class Reference

#include <colcontainer.hxx>

Public Types

typedef std::vector< std::unique_ptr< ScColumn, o3tl::default_delete< ScColumn > > > ScColumnVector
 

Public Member Functions

 ScColContainer (ScSheetLimits const &, const size_t nSize)
 
 ~ScColContainer () COVERITY_NOEXCEPT_FALSE
 
const ScColumnoperator[] (const size_t nIndex) const
 
ScColumnoperator[] (const size_t nIndex)
 
SCCOL size () const
 
bool empty () const
 
void resize (ScSheetLimits const &, const size_t aNewSize)
 
void Clear ()
 
const ScColumnback () const
 
ScColumnback ()
 
ScColumnVector::const_iterator begin () const
 
ScColumnVector::const_iterator end () const
 

Private Attributes

ScColumnVector aCols
 

Detailed Description

Definition at line 29 of file colcontainer.hxx.

Member Typedef Documentation

typedef std::vector<std::unique_ptr<ScColumn, o3tl::default_delete<ScColumn> > > ScColContainer::ScColumnVector

Definition at line 32 of file colcontainer.hxx.

Constructor & Destructor Documentation

ScColContainer::ScColContainer ( ScSheetLimits const &  rSheetLimits,
const size_t  nSize 
)

Definition at line 24 of file colcontainer.cxx.

References aCols.

ScColContainer::~ScColContainer ( )

Definition at line 31 of file colcontainer.cxx.

References Clear().

Member Function Documentation

const ScColumn& ScColContainer::back ( ) const
inline

Definition at line 61 of file colcontainer.hxx.

References aCols, and assert().

ScColumn& ScColContainer::back ( )
inline

Definition at line 67 of file colcontainer.hxx.

References aCols, and assert().

ScColumnVector::const_iterator ScColContainer::begin ( ) const
inline
void ScColContainer::Clear ( )

Definition at line 36 of file colcontainer.cxx.

References aCols, and size().

Referenced by ~ScColContainer().

bool ScColContainer::empty ( ) const
inline

Definition at line 52 of file colcontainer.hxx.

References aCols.

Referenced by ScTable::HasMultipleDataCells().

ScColumnVector::const_iterator ScColContainer::end ( ) const
inline

Definition at line 74 of file colcontainer.hxx.

References aCols.

Referenced by ScTable::GetColumnsRange(), and ScTable::TransposeColNotes().

const ScColumn& ScColContainer::operator[] ( const size_t  nIndex) const
inline

Definition at line 37 of file colcontainer.hxx.

References aCols.

ScColumn& ScColContainer::operator[] ( const size_t  nIndex)
inline

Definition at line 42 of file colcontainer.hxx.

References aCols.

void ScColContainer::resize ( ScSheetLimits const &  rSheetLimits,
const size_t  aNewSize 
)

Definition at line 47 of file colcontainer.cxx.

References aCols.

Referenced by ScTable::CreateColumnIfNotExistsImpl().

SCCOL ScColContainer::size ( ) const
inline

Definition at line 47 of file colcontainer.hxx.

References aCols.

Referenced by ScTable::ApplySelectionCache(), ScTable::ApplySelectionLineStyle(), ScTable::ApplySelectionStyle(), ScTable::ApplyStyleArea(), ScDocumentImport::broadcastRecalcAfterImport(), ScTable::BroadcastRecalcOnRefMove(), ScTable::CalcAfterLoad(), ScTable::CalcAll(), ScTable::ChangeSelectionIndent(), ScTable::CheckVectorizationState(), ScTable::ClampToAllocatedColumns(), Clear(), ScTable::ClearSelectionItems(), ScTable::CompileAll(), ScTable::CompileColRowNameFormula(), ScTable::CompileDBFormula(), ScTable::CompileErrorCells(), ScTable::CompileHybridFormula(), ScTable::CompileXML(), ScTable::CopyScenarioFrom(), ScTable::CopyScenarioTo(), ScTable::CopyUpdated(), ScTable::CreateAllNoteCaptions(), ScTable::CreateColumnIfNotExists(), ScTable::CreateColumnIfNotExistsImpl(), ScTable::DeleteArea(), ScTable::DeleteCol(), ScTable::DeleteSelection(), ScTable::EndListening(), ScTable::EnsureFormulaCellResults(), ScTable::ExtendMerge(), ScTable::ExtendPrintArea(), ScDocumentImport::finalize(), ScTable::FindAreaPos(), ScTable::FindNextVisibleColWithContent(), ScTable::ForgetNoteCaptions(), ScTable::GetAllNoteEntries(), ScTable::GetAllocatedColumnsCount(), ScTable::GetCellArea(), ScTable::GetCellCount(), ScTable::GetCellType(), ScTable::GetCodeCount(), ScTable::GetColumnsRange(), ScTable::GetDataArea(), ScTable::GetDataAreaSubrange(), ScTable::GetDataStart(), ScTable::GetEmptyLinesInBlock(), ScTable::GetFirstDataPos(), ScTable::GetLastChangedCol(), ScTable::GetLastDataPos(), ScTable::GetLastDataRow(), ScTable::GetNeededSize(), ScTable::GetNextMarkedCell(), ScTable::GetNextPos(), ScTable::GetOptimalColWidth(), ScTable::GetPrintArea(), ScTable::GetPrintAreaHor(), ScTable::GetPrintAreaVer(), ScTable::GetSelectionStyle(), ScTable::GetStyle(), ScTable::GetWeightedCount(), ScTable::HasAttrib(), ScTable::HasBlockMatrixFragment(), ScTable::HasFormulaCell(), ScTable::HasMultipleDataCells(), ScDocument::HasTabNotes(), sc::EditTextIterator::init(), ScTable::InsertCol(), ScTable::InvalidateTextWidth(), ScTable::IsColValid(), ScTable::IsEditActionAllowed(), ScTable::IsEmptyLine(), ScTable::IsStyleSheetUsed(), ScTable::LimitChartArea(), ScTable::MarkScenarioIn(), ScTable::MixMarked(), ScTable::PreprocessDBDataUpdate(), ScTable::PreprocessRangeNameUpdate(), ScTable::ResolveStaticReference(), ScTable::ScTable(), ScTable::SearchAllStyle(), ScTable::SearchStyle(), sc::EditTextIterator::seek(), ScTable::SetAllFormulasDirty(), ScTable::SetDirtyAfterLoad(), ScTable::SetDirtyFromClip(), ScTable::SetDirtyIfPostponed(), ScTable::SetDirtyVar(), ScTable::SetRowHidden(), ScTable::SetTabNo(), ScTable::ShrinkToUsedDataArea(), ScTable::StartListeners(), ScTable::StartListeningFormulaCells(), ScTable::StyleSheetChanged(), ScTable::TestCopyScenarioTo(), ScTable::TestTabRefAbs(), ScTable::UndoToTable(), ScTable::UpdateCompile(), ScTable::UpdateDeleteTab(), ScTable::UpdateInsertTab(), ScTable::UpdateInsertTabAbs(), ScTable::UpdateMoveTab(), ScTable::UpdateScriptTypes(), and ScTable::~ScTable().

Member Data Documentation

ScColumnVector ScColContainer::aCols
private

Definition at line 77 of file colcontainer.hxx.

Referenced by back(), begin(), Clear(), empty(), end(), operator[](), resize(), ScColContainer(), and size().


The documentation for this class was generated from the following files: