|
LibreOffice Module sc (master) 1
|
Data caches for range name based source data. More...
#include <dpobject.hxx>
Public Member Functions | |
| NameCaches (ScDocument &rDoc) | |
| bool | hasCache (const OUString &rName) const |
| const ScDPCache * | getCache (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 | |
| ScDPCache * | getExistingCache (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 |
| ScDocument & | mrDoc |
Friends | |
| class | ScDPCollection |
Data caches for range name based source data.
Definition at line 320 of file dpobject.hxx.
|
private |
Definition at line 323 of file dpobject.hxx.
| ScDPCollection::NameCaches::NameCaches | ( | ScDocument & | rDoc | ) |
Definition at line 3132 of file dpobject.cxx.
| const ScDPCache * ScDPCollection::NameCaches::getCache | ( | const OUString & | rName, |
| const ScRange & | rRange, | ||
| const ScDPDimensionSaveData * | pDimData | ||
| ) |
Definition at line 3139 of file dpobject.cxx.
References ScDPCollection::mrDoc, p, ScDPCollection::ScDPCache, and ScDPDimensionSaveData::WriteToCache().
Referenced by ScSheetSourceDesc::CreateCache(), and ScDPCollection::ReloadGroupsInCache().
|
private |
Definition at line 3157 of file dpobject.cxx.
Referenced by ScDPCollection::ReloadGroupsInCache().
| bool ScDPCollection::NameCaches::hasCache | ( | const OUString & | rName | ) | const |
Definition at line 3134 of file dpobject.cxx.
Referenced by ScDPCollection::ReloadCache(), and ScDPCollection::ReloadGroupsInCache().
|
private |
Definition at line 3189 of file dpobject.cxx.
References p.
Referenced by ScDPCollection::RemoveCache().
| size_t ScDPCollection::NameCaches::size | ( | ) | const |
Definition at line 3163 of file dpobject.cxx.
|
private |
Definition at line 3168 of file dpobject.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), ScDPCache::GetAllReferences(), ScDPCache::InitFromDoc(), ScDPCollection::mrDoc, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::swap().
Referenced by ScDPCollection::ReloadCache().
|
friend |
Definition at line 322 of file dpobject.hxx.
|
private |
Definition at line 324 of file dpobject.hxx.
|
private |
Definition at line 325 of file dpobject.hxx.