LibreOffice Module sc (master) 1
|
#include <formulagroup.hxx>
Classes | |
struct | ColArray |
struct | ColKey |
Public Types | |
typedef AlignedAllocator< double, 256 > | DoubleAllocType |
typedef std::vector< double, DoubleAllocType > | NumArrayType |
typedef std::vector< rtl_uString * > | StrArrayType |
typedef std::vector< std::unique_ptr< NumArrayType > > | NumArrayStoreType |
typedef std::vector< std::unique_ptr< StrArrayType > > | StrArrayStoreType |
typedef std::unordered_map< ColKey, ColArray, ColKey::Hash > | ColArraysType |
Public Member Functions | |
ColArray * | getCachedColArray (SCTAB nTab, SCCOL nCol, size_t nSize) |
keep track of longest array for each column. More... | |
ColArray * | setCachedColArray (SCTAB nTab, SCCOL nCol, NumArrayType *pNumArray, StrArrayType *pStrArray) |
void | discardCachedColArray (SCTAB nTab, SCCOL nCol) |
void | ensureStrArray (ColArray &rColArray, size_t nArrayLen) |
void | ensureNumArray (ColArray &rColArray, size_t nArrayLen) |
FormulaGroupContext () | |
FormulaGroupContext (const FormulaGroupContext &)=delete | |
const FormulaGroupContext & | operator= (const FormulaGroupContext &)=delete |
~FormulaGroupContext () | |
Public Attributes | |
NumArrayStoreType | m_NumArrays |
StrArrayStoreType | m_StrArrays |
manage life cycle of numeric arrays. More... | |
ColArraysType | maColArrays |
manage life cycle of string arrays. More... | |
Definition at line 52 of file formulagroup.hxx.
typedef std::unordered_map<ColKey, ColArray, ColKey::Hash> sc::FormulaGroupContext::ColArraysType |
Definition at line 84 of file formulagroup.hxx.
typedef AlignedAllocator<double,256> sc::FormulaGroupContext::DoubleAllocType |
Definition at line 54 of file formulagroup.hxx.
typedef std::vector<std::unique_ptr<NumArrayType> > sc::FormulaGroupContext::NumArrayStoreType |
Definition at line 57 of file formulagroup.hxx.
typedef std::vector<double, DoubleAllocType> sc::FormulaGroupContext::NumArrayType |
Definition at line 55 of file formulagroup.hxx.
typedef std::vector<std::unique_ptr<StrArrayType> > sc::FormulaGroupContext::StrArrayStoreType |
Definition at line 58 of file formulagroup.hxx.
typedef std::vector<rtl_uString*> sc::FormulaGroupContext::StrArrayType |
Definition at line 56 of file formulagroup.hxx.
sc::FormulaGroupContext::FormulaGroupContext | ( | ) |
Definition at line 128 of file formulagroup.cxx.
|
delete |
sc::FormulaGroupContext::~FormulaGroupContext | ( | ) |
Definition at line 132 of file formulagroup.cxx.
Definition at line 100 of file formulagroup.cxx.
References maColArrays.
Referenced by ScColumn::FetchVectorRefArray().
void sc::FormulaGroupContext::ensureNumArray | ( | ColArray & | rColArray, |
size_t | nArrayLen | ||
) |
Definition at line 117 of file formulagroup.cxx.
References m_NumArrays, and sc::FormulaGroupContext::ColArray::mpNumArray.
void sc::FormulaGroupContext::ensureStrArray | ( | ColArray & | rColArray, |
size_t | nArrayLen | ||
) |
Definition at line 107 of file formulagroup.cxx.
References m_StrArrays, and sc::FormulaGroupContext::ColArray::mpStrArray.
FormulaGroupContext::ColArray * sc::FormulaGroupContext::getCachedColArray | ( | SCTAB | nTab, |
SCCOL | nCol, | ||
size_t | nSize | ||
) |
keep track of longest array for each column.
Definition at line 63 of file formulagroup.cxx.
References maColArrays, and sc::FormulaGroupContext::ColArray::mnSize.
Referenced by ScColumn::FetchVectorRefArray().
|
delete |
FormulaGroupContext::ColArray * sc::FormulaGroupContext::setCachedColArray | ( | SCTAB | nTab, |
SCCOL | nCol, | ||
NumArrayType * | pNumArray, | ||
StrArrayType * | pStrArray | ||
) |
Definition at line 78 of file formulagroup.cxx.
References maColArrays.
Referenced by ScColumn::FetchVectorRefArray().
NumArrayStoreType sc::FormulaGroupContext::m_NumArrays |
Definition at line 86 of file formulagroup.hxx.
Referenced by ensureNumArray(), and ScColumn::FetchVectorRefArray().
StrArrayStoreType sc::FormulaGroupContext::m_StrArrays |
manage life cycle of numeric arrays.
Definition at line 87 of file formulagroup.hxx.
Referenced by ensureStrArray(), and ScColumn::FetchVectorRefArray().
ColArraysType sc::FormulaGroupContext::maColArrays |
manage life cycle of string arrays.
Definition at line 89 of file formulagroup.hxx.
Referenced by discardCachedColArray(), getCachedColArray(), and setCachedColArray().