| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Dbi Namespace Reference


Typedefs

typedef Int_t Task
typedef Int_t SubSite

Enumerations

enum  TaskTypes { kAnyTask = -1, kDefaultTask = 0 }
enum  SubSiteTypes { kAnySubSite = -1, kDefaultSubSite = 0 }
enum  TypeRegimes { kRootRegime = 0, kSQLRegime = 1 }
enum  DataTypes {
  kUnknown, kBool, kChar, kUChar,
  kTiny, kUTiny, kShort, kUShort,
  kInt, kUInt, kLong, kULong,
  kFloat, kDouble, kString, kTString,
  kDate
}
enum  DbTypes { kUnknownDbType = -1, kMySQL = 0, kOracle = 1 }
enum  AbortTest { kDisabled, kTableMissing, kDataMissing }
enum  { kMAXLOCALSEQNO = 99999999, kMAXTABLENAMELEN = 80 }

Functions

std::string GetVldDescr (const char *tableName, Bool_t isTemporary=false)
Int_t GetTimeGate (const std::string &tableName)
 Time gates for each table in secs. Used to trim validity searches.
void SetTimeGate (const std::string &tableName, Int_t timeGate)
std::string MakeDateTimeString (const TimeStamp &timeStamp)
TimeStamp MakeTimeStamp (const std::string &sqlDateTime, Bool_t *ok=0)
Bool_t NotGlobalSeqNo (UInt_t seqNo)

Typedef Documentation

typedef Int_t Dbi::Task

Definition at line 42 of file Dbi.h.

typedef Int_t Dbi::SubSite

Definition at line 49 of file Dbi.h.


Enumeration Type Documentation

enum Dbi::TaskTypes

Enumerator:
kAnyTask 
kDefaultTask 

Definition at line 44 of file Dbi.h.

00044                {  kAnyTask     = -1,   // Use to disable task selection in context queries.
00045                   kDefaultTask = 0
00046  };

enum Dbi::SubSiteTypes

Enumerator:
kAnySubSite 
kDefaultSubSite 

Definition at line 51 of file Dbi.h.

00051                   {  kAnySubSite     = -1,   // Use to disable task selection in context queries.
00052                      kDefaultSubSite = 0
00053  };

enum Dbi::TypeRegimes

Enumerator:
kRootRegime 
kSQLRegime 

Definition at line 57 of file Dbi.h.

00057                  { kRootRegime = 0,
00058                    kSQLRegime  = 1 
00059 };

enum Dbi::DataTypes

Enumerator:
kUnknown 
kBool 
kChar 
kUChar 
kTiny 
kUTiny 
kShort 
kUShort 
kInt 
kUInt 
kLong 
kULong 
kFloat 
kDouble 
kString 
kTString 
kDate 

Definition at line 61 of file Dbi.h.

00061                { kUnknown,
00062                  kBool,      // concept
00063                  kChar,      // concept
00064                  kUChar,     // concept
00065                  kTiny,
00066                  kUTiny,
00067                  kShort,
00068                  kUShort,
00069                  kInt,       // concept
00070                  kUInt,      // concept
00071                  kLong,
00072                  kULong,
00073                  kFloat,     // concept
00074                  kDouble,
00075                  kString,    // concept
00076                  kTString,
00077                  kDate       // concept
00078  };

enum Dbi::DbTypes

Enumerator:
kUnknownDbType 
kMySQL 
kOracle 

Definition at line 81 of file Dbi.h.

00081              {  kUnknownDbType = -1,
00082                 kMySQL         = 0,
00083                 kOracle        = 1
00084  };

enum Dbi::AbortTest

Enumerator:
kDisabled 
kTableMissing 
kDataMissing 

Definition at line 86 of file Dbi.h.

00086                { kDisabled,
00087                  kTableMissing,
00088                  kDataMissing
00089  }; 

anonymous enum

Enumerator:
kMAXLOCALSEQNO 
kMAXTABLENAMELEN 

Definition at line 91 of file Dbi.h.

00091        { kMAXLOCALSEQNO   = 99999999,    // Max local SeqNo.
00092          kMAXTABLENAMELEN = 80};         // Max length of table name.


Function Documentation

std::string Dbi::GetVldDescr ( const char *  tableName,
Bool_t  isTemporary = false 
)

Int_t Dbi::GetTimeGate ( const std::string &  tableName  ) 

Time gates for each table in secs. Used to trim validity searches.

void Dbi::SetTimeGate ( const std::string &  tableName,
Int_t  timeGate 
)

std::string Dbi::MakeDateTimeString ( const TimeStamp timeStamp  ) 

TimeStamp Dbi::MakeTimeStamp ( const std::string &  sqlDateTime,
Bool_t *  ok = 0 
)

Bool_t Dbi::NotGlobalSeqNo ( UInt_t  seqNo  ) 

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:15:49 2011 for DatabaseInterface by doxygen 1.4.7