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:

Public Member Functions

 NameCaches (ScDocument &rDoc)
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, o3tl::sorted_vector< ScDPObject * > &rRefs)
bool remove (const ScDPCache *p)

Private Attributes

CachesType m_Caches


class ScDPCollection

Detailed Description

Data caches for range name based source data.

Definition at line 320 of file dpobject.hxx.

Member Typedef Documentation

◆ CachesType

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

Definition at line 323 of file dpobject.hxx.

Constructor & Destructor Documentation

◆ NameCaches()

ScDPCollection::NameCaches::NameCaches ( ScDocument rDoc)

Definition at line 3132 of file dpobject.cxx.

Member Function Documentation

◆ getCache()

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

◆ getExistingCache()

ScDPCache * ScDPCollection::NameCaches::getExistingCache ( const OUString &  rName)

Definition at line 3157 of file dpobject.cxx.

Referenced by ScDPCollection::ReloadGroupsInCache().

◆ hasCache()

bool ScDPCollection::NameCaches::hasCache ( const OUString &  rName) const

◆ remove()

bool ScDPCollection::NameCaches::remove ( const ScDPCache p)

Definition at line 3189 of file dpobject.cxx.

References p.

Referenced by ScDPCollection::RemoveCache().

◆ size()

size_t ScDPCollection::NameCaches::size ( ) const

Definition at line 3163 of file dpobject.cxx.

◆ updateCache()

void ScDPCollection::NameCaches::updateCache ( const OUString &  rName,
const ScRange rRange,
o3tl::sorted_vector< ScDPObject * > &  rRefs 

Friends And Related Function Documentation

◆ ScDPCollection

friend class ScDPCollection

Definition at line 322 of file dpobject.hxx.

Member Data Documentation

◆ m_Caches

CachesType ScDPCollection::NameCaches::m_Caches

Definition at line 324 of file dpobject.hxx.

◆ mrDoc

ScDocument& ScDPCollection::NameCaches::mrDoc

Definition at line 325 of file dpobject.hxx.

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