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 *pDoc)
 
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, std::set< 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
 
ScDocumentmpDoc
 

Friends

class ScDPCollection
 

Detailed Description

Data caches for external database sources.

Definition at line 357 of file dpobject.hxx.

Member Typedef Documentation

Definition at line 360 of file dpobject.hxx.

Constructor & Destructor Documentation

ScDPCollection::DBCaches::DBCaches ( ScDocument pDoc)

Definition at line 3169 of file dpobject.cxx.

Member Function Documentation

uno::Reference< sdbc::XRowSet > ScDPCollection::DBCaches::createRowSet ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand 
)
staticprivate
const ScDPCache * ScDPCollection::DBCaches::getCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand,
const ScDPDimensionSaveData pDimData 
)
ScDPCache * ScDPCollection::DBCaches::getExistingCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand 
)
private

Definition at line 3214 of file dpobject.cxx.

Referenced by ScDPCollection::ReloadGroupsInCache().

bool ScDPCollection::DBCaches::hasCache ( sal_Int32  nSdbType,
const OUString &  rDBName,
const OUString &  rCommand 
) const
bool ScDPCollection::DBCaches::remove ( const ScDPCache p)
private

Definition at line 3319 of file dpobject.cxx.

Referenced by ScDPCollection::RemoveCache().

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

Friends And Related Function Documentation

friend class ScDPCollection
friend

Definition at line 359 of file dpobject.hxx.

Member Data Documentation

CachesType ScDPCollection::DBCaches::m_Caches
private

Definition at line 361 of file dpobject.hxx.

ScDocument* ScDPCollection::DBCaches::mpDoc
private

Definition at line 362 of file dpobject.hxx.


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