Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends

cdb::TableStorage Class Reference

#include <cdb.h>

List of all members.

Public Member Functions

Tablefind (const char *name)
Tablefirst (void)
Boolean bind (const char *name, Table *table)
Boolean unbind (Table *table)
const char * getDefault (void)
void setDefault (const char *name)
Boolean bindType (const char *name, TableFactory pTf)
TableFactory findType (const char *name)

Protected Types

typedef std::map< String,
TableFactory
DBTypes

Protected Member Functions

 TableStorage ()
 ~TableStorage ()

Protected Attributes

std::vector< TableEntrym_dbMap
DBTypes m_dbTypes
ACE_CString m_defaultTable

Friends

class ACE_Singleton< TableStorage, ACE_Null_Mutex >

Member Typedef Documentation

typedef std::map<String, TableFactory> cdb::TableStorage::DBTypes [protected]

Constructor & Destructor Documentation

cdb::TableStorage::TableStorage (  )  [protected]
cdb::TableStorage::~TableStorage (  )  [protected]

Member Function Documentation

Boolean cdb::TableStorage::bind ( const char *  name,
Table table 
)
Boolean cdb::TableStorage::bindType ( const char *  name,
TableFactory  pTf 
)
Table* cdb::TableStorage::find ( const char *  name  ) 
TableFactory cdb::TableStorage::findType ( const char *  name  ) 
Table* cdb::TableStorage::first ( void   ) 
const char* cdb::TableStorage::getDefault ( void   ) 
void cdb::TableStorage::setDefault ( const char *  name  ) 
Boolean cdb::TableStorage::unbind ( Table table  ) 

Friends And Related Function Documentation

friend class ACE_Singleton< TableStorage, ACE_Null_Mutex > [friend]

Member Data Documentation

std::vector<TableEntry> cdb::TableStorage::m_dbMap [protected]
ACE_CString cdb::TableStorage::m_defaultTable [protected]

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