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

Stores and manages all caches from internal sheets. More...

#include <dpobject.hxx>

Collaboration diagram for ScDPCollection::SheetCaches:
[legend]

Public Member Functions

 SheetCaches (ScDocument *pDoc)
 
bool hasCache (const ScRange &rRange) const
 
const ScDPCachegetCache (const ScRange &rRange, const ScDPDimensionSaveData *pDimData)
 
SC_DLLPUBLIC size_t size () const
 
void updateReference (UpdateRefMode eMode, const ScRange &r, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
SC_DLLPUBLIC ScDPCachegetExistingCache (const ScRange &rRange)
 
SC_DLLPUBLIC const ScDPCachegetExistingCache (const ScRange &rRange) const
 
void updateCache (const ScRange &rRange, std::set< ScDPObject * > &rRefs)
 
bool remove (const ScDPCache *p)
 
SC_DLLPUBLIC const std::vector< ScRange > & getAllRanges () const
 

Private Types

typedef std::map< size_t, std::unique_ptr< ScDPCache > > CachesType
 
typedef std::vector< ScRangeRangeIndexType
 

Private Attributes

CachesType m_Caches
 
RangeIndexType maRanges
 
ScDocumentmpDoc
 

Friends

class ScDPCollection
 

Detailed Description

Stores and manages all caches from internal sheets.

Definition at line 288 of file dpobject.hxx.

Member Typedef Documentation

typedef std::map<size_t, std::unique_ptr<ScDPCache> > ScDPCollection::SheetCaches::CachesType
private

Definition at line 291 of file dpobject.hxx.

Definition at line 292 of file dpobject.hxx.

Constructor & Destructor Documentation

ScDPCollection::SheetCaches::SheetCaches ( ScDocument pDoc)

Definition at line 2875 of file dpobject.cxx.

Member Function Documentation

const std::vector< ScRange > & ScDPCollection::SheetCaches::getAllRanges ( ) const

Definition at line 3087 of file dpobject.cxx.

Referenced by XclExpXmlPivotTableManager::Initialize().

const ScDPCache * ScDPCollection::SheetCaches::getCache ( const ScRange rRange,
const ScDPDimensionSaveData pDimData 
)
ScDPCache * ScDPCollection::SheetCaches::getExistingCache ( const ScRange rRange)
const ScDPCache * ScDPCollection::SheetCaches::getExistingCache ( const ScRange rRange) const

Definition at line 2987 of file dpobject.cxx.

References ScRangeList::begin(), ScRangeList::end(), and nIndex.

bool ScDPCollection::SheetCaches::hasCache ( const ScRange rRange) const
bool ScDPCollection::SheetCaches::remove ( const ScDPCache p)

Definition at line 3073 of file dpobject.cxx.

References idx.

Referenced by ScDPCollection::RemoveCache().

size_t ScDPCollection::SheetCaches::size ( ) const

Definition at line 3006 of file dpobject.cxx.

void ScDPCollection::SheetCaches::updateCache ( const ScRange rRange,
std::set< ScDPObject * > &  rRefs 
)
void ScDPCollection::SheetCaches::updateReference ( UpdateRefMode  eMode,
const ScRange r,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

Friends And Related Function Documentation

friend class ScDPCollection
friend

Definition at line 290 of file dpobject.hxx.

Member Data Documentation

CachesType ScDPCollection::SheetCaches::m_Caches
private

Definition at line 293 of file dpobject.hxx.

RangeIndexType ScDPCollection::SheetCaches::maRanges
private

Definition at line 294 of file dpobject.hxx.

ScDocument* ScDPCollection::SheetCaches::mpDoc
private

Definition at line 295 of file dpobject.hxx.


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