34 #ifndef STDBDEFAULTS_HH
35 #define STDBDEFAULTS_HH
37 #include "StDbDefs.hh"
46 unsigned int mprodTime;
47 unsigned int mendTime;
48 char mdbServerVar[16];
49 char mdbServerFile[16];
64 bool IsDefaultVersion(
const char* version);
65 bool IsDefaultFlavor(
const char* flavor);
68 unsigned int getProdTime()
const;
69 unsigned int getEndTime()
const;
70 char* printDbServerVar();
71 char* printDbServerFile();
73 char* getServerFileName(
const dbFindServerMode mode);
74 char* getFileName(
const char* fileName);
79 bool StDbDefaults::IsDefaultVersion(
const char* version){
80 if(strcmp(version,mversion)==0)
return true;
85 bool StDbDefaults::IsDefaultFlavor(
const char* flavor){
86 if(strcmp(flavor,mflavor)==0)
return true;
91 char* StDbDefaults::printVersion(){
return mversion; }
94 char* StDbDefaults::printFlavor() {
return mflavor; }
97 unsigned int StDbDefaults::getProdTime()
const {
return mprodTime; }
100 unsigned int StDbDefaults::getEndTime()
const {
return mendTime; }
103 char* StDbDefaults::printDbServerVar() {
return mdbServerVar; };
106 char* StDbDefaults::printDbServerFile() {
return mdbServerFile; };