#include <StDbManager.hh>
Inheritance diagram for StDbManager:
Public Member Functions | |
virtual | ~StDbManager () |
virtual StDbConfigNode * | initConfig (const char *dbName)=0 |
virtual StDbConfigNode * | initConfig (const char *dbName, const char *configName, int opt=0)=0 |
virtual StDbConfigNode * | initConfig (StDbType type, StDbDomain domain)=0 |
virtual StDbConfigNode * | initConfig (StDbType type, StDbDomain domain, const char *configName, int opt=0)=0 |
virtual StDbConfigNode * | initConfig (StDbType type, StDbDomain domain, unsigned int requestTime, int opt=0)=0 |
virtual StDbConfigNode * | initConfig (const char *dbName, unsigned int requestTime, int opt=0)=0 |
virtual char * | getConfigNodeName (StDbType t, StDbDomain d)=0 |
virtual char * | getExternalVersion (StDbType t, StDbDomain d)=0 |
virtual dbEnvList * | getEnvList (const char *name)=0 |
virtual StDbTable * | newDbTable (const char *dbName, const char *tName)=0 |
virtual StDbTable * | newDbTable (StDbNode *node)=0 |
virtual StDataBaseI * | findDb (StDbType type, StDbDomain domain)=0 |
virtual StDataBaseI * | findDb (const char *dbType, const char *dbDomain)=0 |
virtual StDataBaseI * | findDb (const char *databaseName)=0 |
virtual StDbServer * | findServer (StDbType type, StDbDomain domain)=0 |
virtual StDbServer * | findServer (StDbNode *node)=0 |
virtual StDbServer * | findServer (const char *type, const char *domain)=0 |
virtual StDbServer * | findServer (const char *databaseName)=0 |
virtual StDbServer * | findDefaultServer ()=0 |
virtual char * | getDbTypeName (StDbType type)=0 |
virtual char * | getDbDomainName (StDbDomain domain)=0 |
virtual StDbType | getDbType (const char *typeName)=0 |
virtual StDbDomain | getDbDomain (const char *domainName)=0 |
virtual char * | getDbName (const char *typeName, const char *domName)=0 |
virtual char * | printDbName (StDbType type, StDbDomain domain)=0 |
virtual void | setRequestTime (unsigned int time)=0 |
virtual void | setRequestTime (const char *time)=0 |
virtual unsigned int | getUnixRequestTime ()=0 |
virtual char * | getDateRequestTime ()=0 |
virtual unsigned int | getUnixCheckTime ()=0 |
virtual char * | getDateCheckTime ()=0 |
virtual void | setStoreTime (unsigned int time)=0 |
virtual void | setStoreTime (const char *time)=0 |
virtual unsigned int | getUnixStoreTime ()=0 |
virtual char * | getDateStoreTime ()=0 |
virtual bool | getDataBaseInfo (const char *dbname, char *&type, char *&domain)=0 |
virtual bool | getDataBaseInfo (const char *dbname, StDbType &type, StDbDomain &domain)=0 |
virtual bool | IsValid (StDbTable *table)=0 |
virtual bool | fetchDbTable (StDbTable *table)=0 |
virtual bool | fetchDbTable (StDbTable *table, char *whereClause)=0 |
virtual bool | fetchAllTables (StDbConfigNode *node)=0 |
virtual bool | storeDbTable (StDbTable *table, bool commitWhenDone=true)=0 |
virtual bool | storeAllTables (StDbConfigNode *node, bool commitWhenDone=true)=0 |
virtual int | storeConfig (StDbConfigNode *node, int currentID, int &configID, bool commitWhenDone=true)=0 |
virtual bool | rollBackAllTables (StDbConfigNode *node)=0 |
virtual bool | rollBackAllNodes (StDbConfigNode *node)=0 |
virtual bool | rollBack (StDbNode *node)=0 |
virtual bool | rollBack (StDbTable *table)=0 |
virtual bool | commitAllTables (StDbConfigNode *node)=0 |
virtual bool | commitAllNodes (StDbConfigNode *node)=0 |
virtual void | closeAllConnections ()=0 |
virtual void | closeAllConnections (StDbConfigNode *node)=0 |
virtual void | closeConnection (StDbNode *node)=0 |
virtual void | printTimeStats ()=0 |
virtual bool | IsVerbose () const |
virtual void | setVerbose (bool isVerbose) |
virtual bool | IsQuiet () const |
virtual void | setQuiet (bool isQuiet) |
virtual void | turnOffTimeLogging () |
virtual void | updateMessLevel () |
virtual void | setMessenger (StDbMessService *service) |
virtual StDbMessService * | getMessenger () |
virtual int | printInfo (const char *m1, StDbMessLevel ml, int lineNumber=0, const char *className=" ", const char *methodName=" ") |
virtual int | printInfo (const char *m1, const char *m2, StDbMessLevel ml, int lineNumber=0, const char *className=" ", const char *methodName=" ") |
virtual char * | userName () |
virtual char * | pWord () |
virtual void | setUser (const char *userName, const char *pWord) |
Static Public Member Functions | |
StDbManager * | Instance () |
strdup(..) is not ANSI | |
Protected Member Functions | |
StDbManager () | |
flag for logging timing | |
char * | mstringDup (const char *str) |
Protected Attributes | |
bool | misVerbose |
bool | misQuiet |
3 levels of verbosity: verbose, normal, quiet. | |
StDbMessService * | Messenger |
where normal=!misVerbose && !misQuiet | |
char * | muserName |
char * | mpWord |
bool | misTimeLogged |
Static Protected Attributes | |
StDbManager * | mInstance = 0 |
|
flag for logging timing
Definition at line 157 of file StDbManager.cc.
|
|
Definition at line 161 of file StDbManager.cc.
|
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Definition at line 301 of file StDbManager.hh.
|
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
strdup(..) is not ANSI
Definition at line 152 of file StDbManager.cc.
|
|
Definition at line 285 of file StDbManager.hh.
|
|
Implemented in StDbManagerImpl. |
|
Definition at line 279 of file StDbManager.hh.
|
|
Definition at line 173 of file StDbManager.cc.
|
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Definition at line 193 of file StDbManager.cc.
|
|
Definition at line 185 of file StDbManager.cc.
|
|
Implemented in StDbManagerImpl. |
|
Definition at line 303 of file StDbManager.hh.
|
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Definition at line 296 of file StDbManager.hh.
|
|
Definition at line 286 of file StDbManager.hh.
|
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Definition at line 205 of file StDbManager.cc.
|
|
Definition at line 280 of file StDbManager.hh.
|
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Implemented in StDbManagerImpl. |
|
Reimplemented in StDbManagerImpl. Definition at line 169 of file StDbManager.cc.
|
|
Definition at line 291 of file StDbManager.hh.
|
|
Definition at line 302 of file StDbManager.hh.
|
|
where normal=!misVerbose && !misQuiet
Definition at line 151 of file StDbManager.hh. |
|
Definition at line 150 of file StDbManager.cc. |
|
3 levels of verbosity: verbose, normal, quiet.
Definition at line 150 of file StDbManager.hh. |
|
Definition at line 155 of file StDbManager.hh. |
|
Definition at line 149 of file StDbManager.hh. |
|
Definition at line 153 of file StDbManager.hh. |
|
Definition at line 152 of file StDbManager.hh. |