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

Data caches for range name based source data. More...

#include <dpobject.hxx>

Collaboration diagram for ScDPCollection::NameCaches:
[legend]

Public Member Functions

 NameCaches (ScDocument *pDoc)
 
bool hasCache (const OUString &rName) const
 
const ScDPCachegetCache (const OUString &rName, const ScRange &rRange, const ScDPDimensionSaveData *pDimData)
 
size_t size () const
 

Private Types

typedef ::std::map< OUString, std::unique_ptr< ScDPCache > > CachesType
 

Private Member Functions

ScDPCachegetExistingCache (const OUString &rName)
 
void updateCache (const OUString &rName, const ScRange &rRange, std::set< ScDPObject * > &rRefs)
 
bool remove (const ScDPCache *p)
 

Private Attributes

CachesType m_Caches
 
ScDocumentmpDoc
 

Friends

class ScDPCollection
 

Detailed Description

Data caches for range name based source data.

Definition at line 317 of file dpobject.hxx.

Member Typedef Documentation

typedef ::std::map<OUString, std::unique_ptr<ScDPCache> > ScDPCollection::NameCaches::CachesType
private

Definition at line 320 of file dpobject.hxx.

Constructor & Destructor Documentation

ScDPCollection::NameCaches::NameCaches ( ScDocument pDoc)

Definition at line 3092 of file dpobject.cxx.

Member Function Documentation

const ScDPCache * ScDPCollection::NameCaches::getCache ( const OUString &  rName,
const ScRange rRange,
const ScDPDimensionSaveData pDimData 
)
ScDPCache * ScDPCollection::NameCaches::getExistingCache ( const OUString &  rName)
private

Definition at line 3117 of file dpobject.cxx.

Referenced by ScDPCollection::ReloadGroupsInCache().

bool ScDPCollection::NameCaches::hasCache ( const OUString &  rName) const
bool ScDPCollection::NameCaches::remove ( const ScDPCache p)
private

Definition at line 3149 of file dpobject.cxx.

Referenced by ScDPCollection::RemoveCache().

size_t ScDPCollection::NameCaches::size ( ) const

Definition at line 3123 of file dpobject.cxx.

void ScDPCollection::NameCaches::updateCache ( const OUString &  rName,
const ScRange rRange,
std::set< ScDPObject * > &  rRefs 
)
private

Friends And Related Function Documentation

friend class ScDPCollection
friend

Definition at line 319 of file dpobject.hxx.

Member Data Documentation

CachesType ScDPCollection::NameCaches::m_Caches
private

Definition at line 321 of file dpobject.hxx.

ScDocument* ScDPCollection::NameCaches::mpDoc
private

Definition at line 322 of file dpobject.hxx.


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