51 string id = params.dbms_name_ +
56 MapManager::const_iterator i =
mapManager_.find(
id );
63 TeDatabase* tedb = TeDatabaseFactory::make( params );
64 mapManager_.insert( MapManager::value_type(
id, tedb) ).second;
Manages TeDatabases connections.
TeDatabase * create(const TeDatabaseFactoryParams ¶ms)
Return a TeDatabase pointer if it exists or create a new one.
static TeDatabaseManager & instance()
Singleton pattern.
MapManager mapManager_
Map of TeDatabase and identifiers.
~TeDatabaseManager()
No destruct allowed.