#include <HarpoDB.h>
Public Member Functions | |
HarpoDBTable () | |
~HarpoDBTable () | |
const TString | GetName () |
Bool_t | GetRunRow (Long_t nrun, HarpoDBRow &row) |
Query Table for given run information. More... | |
Bool_t | InsertRunRow (HarpoDBRow row, const TString option="") |
Bool_t | UpdateRunRow (HarpoDBRow row, const TString option="") |
Bool_t | DeleteRun (Long_t run) |
Delete run from table. More... | |
Bool_t | Lookup (const TString field) |
Lookup filed exist. More... | |
Bool_t | GetType (const TString field, TString &type) |
Return Type of field in TString. More... | |
Bool_t | TypeExpression (const TString field) |
Mark filed as expression for insert and update. More... | |
dbFields & | GetFiledsTypes () |
void | Erase (const TString &field) |
Bool_t | Open (const char *dbnm, const char *tbl) |
void | list () |
void | MakeClass (TString cname, TString option="") |
Private Attributes | |
TString | name |
dbFields | ftypes |
Class with store table informatype, name, fields, fields types
Bool_t HarpoDBTable::DeleteRun | ( | Long_t | run | ) |
Delete run from table.
Definition at line 383 of file HarpoDB.cxx.
|
inline |
|
inline |
Bool_t HarpoDBTable::GetRunRow | ( | Long_t | nrun, |
HarpoDBRow & | row | ||
) |
Query Table for given run information.
Definition at line 206 of file HarpoDB.cxx.
Bool_t HarpoDBTable::GetType | ( | const TString | field, |
TString & | type | ||
) |
Return Type of field in TString.
Definition at line 360 of file HarpoDB.cxx.
Bool_t HarpoDBTable::InsertRunRow | ( | HarpoDBRow | row, |
const TString | option = "" |
||
) |
Update DB record
Definition at line 477 of file HarpoDB.cxx.
void HarpoDBTable::list | ( | ) |
Bool_t HarpoDBTable::Lookup | ( | const TString | field | ) |
Lookup filed exist.
Definition at line 305 of file HarpoDB.cxx.
void HarpoDBTable::MakeClass | ( | TString | cname, |
TString | option = "" |
||
) |
Bool_t HarpoDBTable::Open | ( | const char * | dbnm, |
const char * | tbl | ||
) |
Definition at line 140 of file HarpoDB.cxx.
Bool_t HarpoDBTable::TypeExpression | ( | const TString | field | ) |
Mark filed as expression for insert and update.
Definition at line 371 of file HarpoDB.cxx.
Bool_t HarpoDBTable::UpdateRunRow | ( | HarpoDBRow | row, |
const TString | option = "" |
||
) |
Insert new DB record based on class data
Definition at line 408 of file HarpoDB.cxx.