StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
StDbBroker Class Reference

Classes

struct  oldDescriptor
 

Public Types

enum  EColumnType {
  kNAN, kFloat, kInt, kLong,
  kShort, kDouble, kUInt, kULong,
  kUShort, kUChar, kChar
}
 
typedef St_tableDescriptor Descriptor
 

Public Member Functions

void * Use ()
 
void SetTableFlavor (const char *flavor, int tabID, int parID)
 
void * Use (int tabID, int parID)
 
bool UseRunLog (StDbTable *table)
 
char ** GetComments (St_Table *parentTable)
 
Int_t WriteToDb (void *pArray, int tabID)
 
Int_t WriteToDb (void *pArray, const char *fullPath, int *idList=0)
 
StDbTablefindTable (const char *databaseName)
 
UInt_t GetNRows ()
 
Int_t GetBeginDate ()
 
Int_t GetBeginTime ()
 
const char * GetFlavor ()
 
Int_t GetEndDate ()
 
Int_t GetEndTime ()
 
UInt_t GetRequestTimeStamp ()
 
UInt_t GetBeginTimeStamp ()
 
UInt_t GetEndTimeStamp ()
 
UInt_t GetProdTime ()
 
Bool_t IsZombie ()
 
StTableDescriptorIGetTableDescriptor ()
 
void loadOldDescriptor ()
 
void SetDateTime (Int_t date, Int_t time)
 
void SetRunNumber (Int_t runNumber)
 
void SetDictionary (UInt_t nElements, Descriptor *D)
 
void SetDictionary (Descriptor *D)
 
void SetTableName (const Char_t *table_name)
 
void SetStructName (const Char_t *struct_name)
 
void SetVersionName (const char *version)
 
void SetDataBaseName (const char *dbName)
 
void SetStructSize (UInt_t size)
 
void SetNRows (UInt_t nRows)
 
void SetBeginDate (Int_t BeginDate)
 
void SetBeginTime (Int_t BeginTime)
 
void SetEndDate (Int_t EndDate)
 
void SetEndTime (Int_t EndTime)
 
void SetRequestTimeStamp (UInt_t utime)
 
void SetBeginTimeStamp (UInt_t utime)
 
void SetEndTimeStamp (UInt_t utime)
 
void SetProdTime (UInt_t ptime)
 
void AddProdTimeOverride (UInt_t ptime, char *dbType=0, char *dbDomain=0)
 
void SetFlavor (const char *flavor)
 
void SetZombie (Bool_t zombie)
 
void addBlacklistedDomain (const char *domainName)
 
void setVerbose (int isVerbose)
 
void printStatistics ()
 
void CloseAllConnections ()
 
void Release ()
 
dbConfig_stInitConfig (const char *configName, int &numRows, char *versionName=0)
 

Static Public Member Functions

static const Char_t * GetTypeName (EColumnType type)
 
static int DbInit (const char *)
 

Public Attributes

StDbManagermgr
 

Protected Member Functions

dbConfig_stbuildConfig (int &numRows)
 
int buildNodes (StDbConfigNode *node, int pID)
 
void makeDateTime (const char *dateTime, Int_t &iDate, Int_t &iTime)
 

Protected Attributes

StDbTablem_node = 0
 
oldDescriptorm_descriptor = 0
 
Descriptormdescriptor = 0
 
Char_t * m_structName = 0
 
Char_t * m_tableName = 0
 
UInt_t m_sizeOfStruct = 0
 
UInt_t m_nElements = 0
 
UInt_t m_nRows = 0
 
Int_t m_DateTime [2]
 
Int_t m_BeginDate = 0
 
Int_t m_BeginTime = 0
 
Int_t m_EndDate = 0
 
Int_t m_EndTime = 0
 
UInt_t m_beginTimeStamp = 0
 
UInt_t m_endTimeStamp = 0
 
UInt_t m_requestTimeStamp = 0
 
Int_t m_runNumber = 0
 
char * m_tableVersion = 0
 
char * m_database = 0
 
char * m_ParentType = 0
 
int m_isVerbose = 0
 
dbNodeArraym_Nodes = 0
 
StDbConfigNodem_Tree = 0
 
char * m_flavor = 0
 
unsigned int m_prodTime = 0
 
std::map< std::pair< char
*, char * >, unsigned int > 
m_prodTimeOverride
 
Bool_t m_isZombie = false
 

Detailed Description

Definition at line 144 of file StDbBroker.h.


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