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

Data caches for external database sources. More...

#include <dpobject.hxx>

Collaboration diagram for ScDPCollection::DBCaches:
[legend]

Public Member Functions

 DBCaches (ScDocument &rDoc)
 
bool hasCache (sal_Int32 nSdbType, const OUString &rDBName, const OUString &rCommand) const
 
const ScDPCachegetCache (sal_Int32 nSdbType, const OUString &rDBName, const OUString &rCommand, const ScDPDimensionSaveData *pDimData)
 

Private Types

typedef ::std::map< DBType, std::unique_ptr< ScDPCache >, DBType::lessCachesType
 

Private Member Functions

ScDPCachegetExistingCache (sal_Int32 nSdbType, const OUString &rDBName, const OUString &rCommand)
 
void updateCache (sal_Int32 nSdbType, const OUString &rDBName, const OUString &rCommand, o3tl::sorted_vector< ScDPObject * > &rRefs)
 
bool remove (const ScDPCache *p)
 

Static Private Member Functions

static css::uno::Reference< css::sdbc::XRowSet > createRowSet (sal_Int32 nSdbType, const OUString &rDBName, const OUString &rCommand)
 

Private Attributes

CachesType m_Caches
 
ScDocumentmrDoc
 

Friends

class ScDPCollection
 

Detailed Description

Data caches for external database sources.

Definition at line 360 of file dpobject.hxx.

Member Typedef Documentation

◆ CachesType

Definition at line 363 of file dpobject.hxx.

Constructor & Destructor Documentation

◆ DBCaches()

ScDPCollection::DBCaches::DBCaches ( ScDocument rDoc)

Definition at line 3209 of file dpobject.cxx.

Member Function Documentation

◆ createRowSet()

uno::Reference< sdbc::XRowSet > ScDPCollection::DBCaches::createRowSet ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand 
)
staticprivate

◆ getCache()

const ScDPCache * ScDPCollection::DBCaches::getCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand,
const ScDPDimensionSaveData pDimData 
)

◆ getExistingCache()

ScDPCache * ScDPCollection::DBCaches::getExistingCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand 
)
private

Definition at line 3254 of file dpobject.cxx.

Referenced by ScDPCollection::ReloadGroupsInCache().

◆ hasCache()

bool ScDPCollection::DBCaches::hasCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand 
) const

◆ remove()

bool ScDPCollection::DBCaches::remove ( const ScDPCache p)
private

Definition at line 3359 of file dpobject.cxx.

References p.

Referenced by ScDPCollection::RemoveCache().

◆ updateCache()

void ScDPCollection::DBCaches::updateCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand,
o3tl::sorted_vector< ScDPObject * > &  rRefs 
)
private

Friends And Related Function Documentation

◆ ScDPCollection

friend class ScDPCollection
friend

Definition at line 362 of file dpobject.hxx.

Member Data Documentation

◆ m_Caches

CachesType ScDPCollection::DBCaches::m_Caches
private

Definition at line 364 of file dpobject.hxx.

◆ mrDoc

ScDocument& ScDPCollection::DBCaches::mrDoc
private

Definition at line 365 of file dpobject.hxx.


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