19#include "KVDataBase.h"
23#include "KVNumberList.h"
33 gROOT->GetRootFolder()->Add(
this);
44 gROOT->GetRootFolder()->Add(
this);
56 gROOT->GetRootFolder()->Add(
this);
69 gROOT->GetRootFolder()->Remove(
this);
70 gROOT->GetListOfCleanups()->Remove(
this);
134 const Char_t* rec_name)
const
142 "No Table named %s found.", table_name);
145 return table->GetRecord(rec_name);
156 cout <<
"_______________________________________________________" <<
160 cout <<
"Available Tables :" << endl;
164 cout <<
" " <<
table->GetName() << endl;
166 cout <<
"_______________________________________________________" <<
char * Form(const char *fmt,...)
Record folder for the database.
virtual void SetFullPath(const Char_t *path)
Simple cross-referenced database structure.
virtual void Print(Option_t *option="") const
virtual ~KVDataBase()
reset global database pointer if it was pointing to this DB
virtual KVDBTable * GetTable(const Char_t *table) const
virtual KVDBRecord * GetRecord(const Char_t *table_name, const Char_t *rec_name) const
virtual TList * GetTables() const
virtual Bool_t AddTable(KVDBTable *table)
virtual void Add(TObject *obj)
virtual void SetOwner(Bool_t owner=kTRUE)
const char * GetName() const override
const char * GetTitle() const override
virtual const char * ClassName() const
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual void Info(const char *method, const char *msgfmt,...) const
const char * Data() const
Table in an SQLite database.