33 #ifndef STDBCONFIGNODEIMPL_HH
34 #define STDBCONFIGNODEIMPL_HH
36 #include "StDbConfigNode.hh"
37 #include "StDbElementIndex.hh"
40 #ifdef ST_NO_TEMPLATE_DEF_ARGS
41 typedef list<StDbTable*, allocator<StDbTable*> > TableList;
43 #if !defined(ST_NO_NAMESPACES)
46 typedef list<StDbTable*> TableList;
61 void updateDbTables(
int opt=0);
62 void updateDbTable(
StDbTable* table,
int opt=0);
67 const char* nodeName,
const char* configName);
70 const char* nodeName,
const char* configName=
"none");
73 virtual void addChildren(
dbEnvList* elist);
76 virtual void resetConfig(
const char* config,
int opt=0);
77 virtual int buildTree(
int opt=0);
79 virtual void setElementIndexInfo(
const char* indexName,
int indexID);
80 virtual void getElementIndexInfo(
char*& indexname,
int& indexID);
81 virtual int getNumIndeces()
const;
84 virtual StDbTable* addDbTable(
const char* tableName,
85 const char* version=
"default");
86 virtual StDbTable* addTable(
const char* tableName,
87 const char* version=
"default");
89 virtual StDbTable* findTable(
const char* name,
const char* subPath=
"/");
90 virtual StDbTable* findLocalTable(
const char* name);
91 virtual void removeTable(
StDbTable* table);
95 virtual void printTables(
int depth);
96 virtual void printNumberStats();
98 virtual void getNumberStats(
unsigned int& nNodes,
99 unsigned int& ntables,
100 unsigned int& numBytes);
103 virtual void setTablesFlavor(
const char* flavor);
104 virtual void setTablesProdTime(
unsigned int ptime);
105 virtual void setTablesProdTimeOverride(
unsigned int ptime,
char*
dbType = 0,
char*
dbDomain = 0);