TdkCache Class Reference

#include <TdkCache.h>

List of all members.

Public Member Functions

virtual ~TdkCache ()
 Destructor.
virtual TdkObject * insertInCacheObject (TdkObject &object, bool copyObject=false)
virtual TdkObjectTypeDefMap & objectTypeDefMap (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 TdkObjectTypeDef * addInCacheObjectType (const std::string dbKey, TdkObjectTypeDef &type)
virtual TdkObjectTypeDef * getInCacheObjectType (const std::string dbKey, std::string typeName)
virtual void unloadObjectType (const std::string dbKey, std::string typeName)
virtual TdkObjectMap & objectMap ()
virtual TdkTypedObjectMap * typedObjectsMap (const std::string dbKey, const std::string typeName)
virtual bool isObjectInCache (const TdkObjectGID &objectGID)
virtual TdkObject * addInCacheObject (TdkObject &object)
virtual TdkObject * getInCacheObject (const TdkObjectGID &objectGID)
virtual TdkObject * getInCacheObject (const std::string dbKey, TdkObjectType objectType, const std::string name)
virtual TdkObject * getInCacheObject (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 TdkTheme * getInCacheTheme (const TdkObjectGID &objectGID)
virtual TdkLayer * getInCacheLayer (const TdkObjectGID &objectGID)
virtual TdkView * getInCacheView (const TdkObjectGID &objectGID)
virtual TdkProject * getInCacheProject (const TdkObjectGID &objectGID)
virtual TdkTheme * getInCacheTheme (const std::string dbKey, const std::string name)
virtual TdkTheme * getInCacheTheme (TeDatabase *db, const std::string name)
virtual TdkLayer * getInCacheLayer (const std::string dbKey, const std::string name)
virtual TdkLayer * getInCacheLayer (TeDatabase *db, const std::string name)
virtual TdkProject * getInCacheProject (const std::string dbKey, const std::string name)
virtual TdkProject * getInCacheProject (TeDatabase *db, const std::string name)
virtual TdkView * getInCacheView (const std::string dbKey, const std::string name)
virtual TdkView * getInCacheView (TeDatabase *db, const std::string name)
virtual TdkObject * insertInCacheTheme (TdkTheme &theme, bool copyObject=false)
virtual TdkObject * insertInCacheLayer (TdkLayer &object, bool copyObject=false)
virtual TdkObject * insertInCacheView (TdkView &object, bool copyObject=false)
virtual TdkObject * insertInCacheProject (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