StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StDbConfigNode Class Referenceabstract
Inheritance diagram for StDbConfigNode:
StDbNode StDbConfigNodeImpl

Public Member Functions

 StDbConfigNode (StDbConfigNode *parent, const char *nodeName, const char *configName)
 StDbConfigNode (StDbConfigNode *parent, StDbNode &node)
 StDbConfigNode (StDbType type, StDbDomain domain, const char *nodeName, const char *configName="none")
void setNextNode (StDbConfigNode *node)
void setParentNode (StDbConfigNode *node)
void setFirstChildNode (StDbConfigNode *node)
virtual void setChildNode (StDbConfigNode *node)
void appendNode (StDbConfigNode *node)
StDbConfigNodegetNextNode ()
StDbConfigNodegetParentNode ()
StDbConfigNodegetFirstChildNode ()
void deleteTree ()
virtual void addChildren (dbEnvList *elist)=0
void deleteChildren ()
bool hasChildren ()
bool hasData ()
int getBranchID ()
void setBranchID (int branchID)
void setIsDbNode (bool isDbNode)
bool isDbNode ()
void printTree (int depth)
virtual void resetConfig (const char *config, int opt=0)=0
virtual int buildTree (int opt=0)=0
virtual StDbElementIndexgetElementIndex ()=0
virtual void setElementIndexInfo (const char *indexName, int indexID)=0
virtual void getElementIndexInfo (char *&indexname, int &indexID)=0
virtual int getNumIndeces () const =0
virtual StDbTableaddDbTable (const char *tableName, const char *version="default")=0
virtual StDbTableaddTable (const char *tableName, const char *version="default")=0
virtual StDbTableaddTable (StDbNode *node)=0
virtual StDbTablefindTable (const char *name, const char *sPath="/")=0
virtual StDbTablefindLocalTable (const char *name)=0
virtual void removeTable (StDbTable *table)=0
virtual StDbTableItergetStDbTableIter ()=0
virtual bool compareTables (StDbTable *tab1, StDbTable *tab2)=0
virtual void printTables (int depth)=0
virtual void printNumberStats ()=0
virtual void getNumberStats (unsigned int &nNodes, unsigned int &ntables, unsigned int &numBytes)=0
virtual void setTablesFlavor (const char *flavor)=0
virtual void setTablesProdTime (unsigned int ptime)=0
virtual void setTablesProdTimeOverride (unsigned int ptime, char *dbType=0, char *dbDomain=0)=0
void setFlavor (const char *flavor)
void setProdTime (unsigned int ptime)
void setProdTimeOverride (unsigned int ptime, char *dbType=0, char *dbDomain=0)
StDbConfigNodefindConfigNode (StDbType t, StDbDomain d, const char *sPath)
StDbConfigNodefindConfigNode (StDbType t, StDbDomain d)
StDbConfigNodefindConfigNode (const char *sPath)
StDbConfigNodefindChildConfigNode (const char *nodeName)
- Public Member Functions inherited from StDbNode
 StDbNode (const char *name, const char *versionKey)
 StDbNode (const char *name)
 StDbNode (StDbNode &node)
char * getName ()
char * printName ()
char * getMyName ()
char * getVersion ()
char * printVersion ()
char * getDbName ()
char * printDbName ()
StDbType getDbType () const
StDbDomain getDbDomain () const
int getNodeID () const
char * getNodeType ()
char * printNodeType ()
void setName (const char *nodeName)
void setVersion (const char *nodeVersion)
void setDbName (const char *nodeDbName)
void setDbType (StDbType type)
void setDbDomain (StDbDomain domain)
void setNodeID (int id)
void setNodeType (const char *nodeType)
bool canRollBack () const
void addWrittenNode (int dataID)
void commit ()
bool checkName (const char *nodeName) const
bool checkVersion (const char *nodeVersion) const
bool checkNode (const char *nodeName, const char *nodeVersion) const
bool IsConfigured () const
void setConfigured (bool isConfigured)
bool isNode (StDbType type, StDbDomain domain)
virtual bool IsTable () const
char * mstrDup (const char *s2)
int * decodeElementID (const char *elementID, int &numRows)
char * getNextID (char *&currentElement) const

Protected Member Functions

void zeroNodes ()

Protected Attributes

bool mhasData
int mbranchID
bool misDbNode
- Protected Attributes inherited from StDbNode
char * mname
char * mversion
char * mdbName
StDbType mdbType = dbStDb
StDbDomain mdbDomain = dbDomainUnknown
int mnodeID
char * mnodeType
bool misConfigured
bool mcanRollBack

Detailed Description

Definition at line 102 of file StDbConfigNode.hh.

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