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 28 of file colcontainer.hxx.

Member Typedef Documentation

◆ ScColumnVector

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

Definition at line 31 of file colcontainer.hxx.

Constructor & Destructor Documentation

◆ ScColContainer()

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

Definition at line 24 of file colcontainer.cxx.

References aCols.

◆ ~ScColContainer()

ScColContainer::~ScColContainer ( )

Definition at line 31 of file colcontainer.cxx.

References Clear().

Member Function Documentation

◆ back() [1/2]

ScColumn & ScColContainer::back ( )
inline

Definition at line 66 of file colcontainer.hxx.

References aCols.

◆ back() [2/2]

const ScColumn & ScColContainer::back ( ) const
inline

Definition at line 60 of file colcontainer.hxx.

References aCols.

◆ begin()

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

◆ Clear()

void ScColContainer::Clear ( )

Definition at line 36 of file colcontainer.cxx.

References aCols, and size().

Referenced by ~ScColContainer().

◆ empty()

bool ScColContainer::empty ( ) const
inline

Definition at line 51 of file colcontainer.hxx.

References aCols.

Referenced by ScTable::HasMultipleDataCells().

◆ end()

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

Definition at line 73 of file colcontainer.hxx.

References aCols.

Referenced by ScTable::TransposeColNotes().

◆ operator[]() [1/2]

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

Definition at line 41 of file colcontainer.hxx.

References aCols, and nIndex.

◆ operator[]() [2/2]

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

Definition at line 36 of file colcontainer.hxx.

References aCols, and nIndex.

◆ resize()

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

Definition at line 47 of file colcontainer.cxx.

References aCols.

Referenced by ScTable::CreateColumnIfNotExistsImpl().

◆ size()

SCCOL ScColContainer::size ( ) const
inline

Definition at line 46 of file colcontainer.hxx.

References aCols.

Referenced by ScTable::ApplyPatternArea(), 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::ColumnData(), 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::DeleteBeforeCopyFromClip(), 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::GetAllocatedColumnsRange(), ScTable::GetCellArea(), ScTable::GetCellCount(), ScTable::GetCellType(), ScTable::GetCodeCount(), ScTable::GetColumnData(), ScTable::GetDataArea(), ScTable::GetDataAreaSubrange(), ScTable::GetDataStart(), ScTable::GetEmptyLinesInBlock(), ScTable::GetFilteredFilterEntries(), ScTable::GetFilterEntries(), ScTable::GetFirstDataPos(), ScTable::GetLastDataPos(), ScTable::GetLastDataRow(), ScTable::GetNeededSize(), ScTable::GetNextMarkedCell(), ScTable::GetNextPos(), ScTable::GetOptimalColWidth(), ScTable::GetPrintArea(), ScTable::GetPrintAreaHor(), ScTable::GetPrintAreaVer(), ScTable::GetSelectionStyle(), ScTable::GetWeightedCount(), ScTable::HasAttrib(), ScTable::HasBlockMatrixFragment(), ScTable::HasFormulaCell(), ScTable::HasMultipleDataCells(), 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::SetAttrEntries(), 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

◆ aCols

ScColumnVector ScColContainer::aCols
private

Definition at line 76 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: