|
BrVirtualDbclass description - source file - inheritance tree class BrVirtualDb : public TNamedpublic: Data Membersprotected: See alsoClass DescriptionBase class for BRAHMS databases. Individual database classes can inherit from this and then define the mathods in needs. E.g., a calibration databse classs, can define the methods "BrCalibObj* GetAround(time_t t)" to get calibration valid around the unix_timestamp t, and a run database could define "BrRunInfo* GetRun(int no)" etc. The actual database name is stored on the TNamed::fTitle, while the symbolic name is stored in TNamed::fName ~BrVirtualDb(void) Empty DTOR Inline FunctionsBool_t Connect(Option_t* option) void Close(Option_t* option) TSQLResult* Query(BrDbQuery* query) TSQLRow* GetSingle(const Char_t* table, const Char_t* condition) TSQLResult* GetMultiple(const Char_t* table, const Char_t* condition) TObject* GetConnection() const Char_t* GetDbName() const const Char_t* GetUserName() const const Char_t* GetHostName() const const Char_t* GetRdbmType() const void SetDbName(const Char_t* dbName) void SetUserName(const Char_t* name) void SetHostName(const Char_t* host) void SetRdbmType(const Char_t* type) Bool_t IsConnected() const void LockTables(const Char_t* writetables, int i = 0) void UnLockTables() Int_t Increment() void CreateSequence() TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|