TdkCache Class Reference

#include <TdkCache.h>

List of all members.

Public Member Functions

virtual ~TdkCache ()
 Destructor.
virtual TdkObjectinsertInCacheObject (TdkObject &object, bool copyObject=false)
virtual TdkObjectTypeDefMapobjectTypeDefMap (const std::string dbKey)
virtual void unloadObjectTypes (const std::string dbKey)
virtual void unloadObjectTypes ()
virtual bool isObjectTypeInCache (const std::string dbKey, const std::string typeName)
virtual TdkObjectTypeDefaddInCacheObjectType (const std::string dbKey, TdkObjectTypeDef &type)
virtual TdkObjectTypeDefgetInCacheObjectType (const std::string dbKey, std::string typeName)
virtual void unloadObjectType (const std::string dbKey, std::string typeName)
virtual TdkObjectMapobjectMap ()
virtual TdkTypedObjectMaptypedObjectsMap (const std::string dbKey, const std::string typeName)
virtual bool isObjectInCache (const TdkObjectGID &objectGID)
virtual TdkObjectaddInCacheObject (TdkObject &object)
virtual TdkObjectgetInCacheObject (const TdkObjectGID &objectGID)
virtual TdkObjectgetInCacheObject (const std::string dbKey, TdkObjectType objectType, const std::string name)
virtual TdkObjectgetInCacheObject (TeDatabase *db, TdkObjectType objectType, const std::string name)
virtual void unloadObject (const TdkObjectGID &object_id, bool deleteObject=true)
virtual void unloadLayers (const std::string dbKey)
virtual void unloadViews (const std::string dbKey)
virtual void unloadThemes (const std::string dbKey)
virtual void unloadProjects (const std::string dbKey)
virtual void unloadObjects (const std::string dbKey, const std::string typeName)
virtual void unloadObjects (const std::string dbKey)
virtual void unloadObjects ()
virtual void clear (TeDatabase *db)
virtual void clear ()
virtual void associateChildren (const std::string dbKey, TdkObjectCollection *col)

Protected Member Functions

virtual bool isThemeInCache (const TdkObjectGID &objectGID)
virtual bool isLayerInCache (const TdkObjectGID &objectGID)
virtual bool isViewInCache (const TdkObjectGID &objectGID)
virtual bool isProjectInCache (const TdkObjectGID &objectGID)
virtual TdkThemegetInCacheTheme (const TdkObjectGID &objectGID)
virtual TdkLayergetInCacheLayer (const TdkObjectGID &objectGID)
virtual TdkViewgetInCacheView (const TdkObjectGID &objectGID)
virtual TdkProjectgetInCacheProject (const TdkObjectGID &objectGID)
virtual TdkThemegetInCacheTheme (const std::string dbKey, const std::string name)
virtual TdkThemegetInCacheTheme (TeDatabase *db, const std::string name)
virtual TdkLayergetInCacheLayer (const std::string dbKey, const std::string name)
virtual TdkLayergetInCacheLayer (TeDatabase *db, const std::string name)
virtual TdkProjectgetInCacheProject (const std::string dbKey, const std::string name)
virtual TdkProjectgetInCacheProject (TeDatabase *db, const std::string name)
virtual TdkViewgetInCacheView (const std::string dbKey, const std::string name)
virtual TdkViewgetInCacheView (TeDatabase *db, const std::string name)
virtual TdkObjectinsertInCacheTheme (TdkTheme &theme, bool copyObject=false)
virtual TdkObjectinsertInCacheLayer (TdkLayer &object, bool copyObject=false)
virtual TdkObjectinsertInCacheView (TdkView &object, bool copyObject=false)
virtual TdkObjectinsertInCacheProject (TdkProject &object, bool copyObject=false)
virtual void unloadTheme (const TdkObjectGID &objectGID, bool deleteObject=true)
virtual void unloadLayer (const TdkObjectGID &objectGID, bool deleteObject=true)
virtual void unloadView (const TdkObjectGID &objectGID, bool deleteObject=true)
virtual void unloadProject (const TdkObjectGID &objectGID, bool deleteObject=true)

Private Attributes

TdkObjectMap objectMap_
 Objects map.
TdkObjectTypeDefMap objectTypeDefMap_
 Types map.


Constructor & Destructor Documentation

TdkCache::~TdkCache (  )  [virtual]

Destructor.


Member Function Documentation

bool TdkCache::isThemeInCache ( const TdkObjectGID objectGID  )  [protected, virtual]

bool TdkCache::isLayerInCache ( const TdkObjectGID objectGID  )  [protected, virtual]

bool TdkCache::isViewInCache ( const TdkObjectGID objectGID  )  [protected, virtual]

bool TdkCache::isProjectInCache ( const TdkObjectGID objectGID  )  [protected, virtual]

TdkTheme * TdkCache::getInCacheTheme ( const TdkObjectGID objectGID  )  [protected, virtual]

TdkLayer * TdkCache::getInCacheLayer ( const TdkObjectGID objectGID  )  [protected, virtual]

TdkView * TdkCache::getInCacheView ( const TdkObjectGID objectGID  )  [protected, virtual]

TdkProject * TdkCache::getInCacheProject ( const TdkObjectGID objectGID  )  [protected, virtual]

TdkTheme * TdkCache::getInCacheTheme ( const std::string  dbKey,
const std::string  name 
) [protected, virtual]

TdkTheme * TdkCache::getInCacheTheme ( TeDatabase *  db,
const std::string  name 
) [protected, virtual]

TdkLayer * TdkCache::getInCacheLayer ( const std::string  dbKey,
const std::string  name 
) [protected, virtual]

TdkLayer * TdkCache::getInCacheLayer ( TeDatabase *  db,
const std::string  name 
) [protected, virtual]

TdkProject * TdkCache::getInCacheProject ( const std::string  dbKey,
const std::string  name 
) [protected, virtual]

TdkProject * TdkCache::getInCacheProject ( TeDatabase *  db,
const std::string  name 
) [protected, virtual]

TdkView * TdkCache::getInCacheView ( const std::string  dbKey,
const std::string  name 
) [protected, virtual]

TdkView * TdkCache::getInCacheView ( TeDatabase *  db,
const std::string  name 
) [protected, virtual]

TdkObject * TdkCache::insertInCacheTheme ( TdkTheme theme,
bool  copyObject = false 
) [protected, virtual]

TdkObject * TdkCache::insertInCacheLayer ( TdkLayer object,
bool  copyObject = false 
) [protected, virtual]

TdkObject * TdkCache::insertInCacheView ( TdkView object,
bool  copyObject = false 
) [protected, virtual]

TdkObject * TdkCache::insertInCacheProject ( TdkProject object,
bool  copyObject = false 
) [protected, virtual]

void TdkCache::unloadTheme ( const TdkObjectGID objectGID,
bool  deleteObject = true 
) [protected, virtual]

void TdkCache::unloadLayer ( const TdkObjectGID objectGID,
bool  deleteObject = true 
) [protected, virtual]

void TdkCache::unloadView ( const TdkObjectGID objectGID,
bool  deleteObject = true 
) [protected, virtual]

void TdkCache::unloadProject ( const TdkObjectGID objectGID,
bool  deleteObject = true 
) [protected, virtual]

TdkObject * TdkCache::insertInCacheObject ( TdkObject object,
bool  copyObject = false 
) [virtual]

TdkObjectTypeDefMap & TdkCache::objectTypeDefMap ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadObjectTypes ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadObjectTypes (  )  [virtual]

bool TdkCache::isObjectTypeInCache ( const std::string  dbKey,
const std::string  typeName 
) [virtual]

TdkObjectTypeDef * TdkCache::addInCacheObjectType ( const std::string  dbKey,
TdkObjectTypeDef type 
) [virtual]

TdkObjectTypeDef * TdkCache::getInCacheObjectType ( const std::string  dbKey,
std::string  typeName 
) [virtual]

void TdkCache::unloadObjectType ( const std::string  dbKey,
std::string  typeName 
) [virtual]

TdkObjectMap & TdkCache::objectMap (  )  [virtual]

TdkTypedObjectMap * TdkCache::typedObjectsMap ( const std::string  dbKey,
const std::string  typeName 
) [virtual]

bool TdkCache::isObjectInCache ( const TdkObjectGID objectGID  )  [virtual]

TdkObject * TdkCache::addInCacheObject ( TdkObject object  )  [virtual]

TdkObject * TdkCache::getInCacheObject ( const TdkObjectGID objectGID  )  [virtual]

TdkObject * TdkCache::getInCacheObject ( const std::string  dbKey,
TdkObjectType  objectType,
const std::string  name 
) [virtual]

TdkObject * TdkCache::getInCacheObject ( TeDatabase *  db,
TdkObjectType  objectType,
const std::string  name 
) [virtual]

void TdkCache::unloadObject ( const TdkObjectGID object_id,
bool  deleteObject = true 
) [virtual]

void TdkCache::unloadLayers ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadViews ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadThemes ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadProjects ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadObjects ( const std::string  dbKey,
const std::string  typeName 
) [virtual]

void TdkCache::unloadObjects ( const std::string  dbKey  )  [virtual]

void TdkCache::unloadObjects (  )  [virtual]

void TdkCache::clear ( TeDatabase *  db  )  [virtual]

void TdkCache::clear (  )  [virtual]

void TdkCache::associateChildren ( const std::string  dbKey,
TdkObjectCollection col 
) [virtual]


Member Data Documentation

TdkObjectMap TdkCache::objectMap_ [private]

Objects map.

TdkObjectTypeDefMap TdkCache::objectTypeDefMap_ [private]

Types map.


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:28 2007 for TDK by  doxygen 1.5.2