library: libSQL #include "TSQLClassInfo.h" |
TSQLClassInfo
class description - header file - source file - inheritance tree (.pdf)
public:
TSQLClassInfo()
TSQLClassInfo(Long64_t classid, const char* classname, Int_t version)
TSQLClassInfo(const TSQLClassInfo&)
virtual ~TSQLClassInfo()
static TClass* Class()
Int_t FindColumn(const char* name, Bool_t sqlname = kFALSE)
Long64_t GetClassId() const
const char* GetClassTableName() const
Int_t GetClassVersion() const
TObjArray* GetColumns() const
virtual const char* GetName() const
const char* GetRawTableName() const
virtual TClass* IsA() const
Bool_t IsClassTableExist() const
Bool_t IsRawTableExist() const
TSQLClassInfo& operator=(const TSQLClassInfo&)
void SetClassTableName(const char* name)
void SetColumns(TObjArray* columns)
void SetRawExist(Bool_t on)
void SetRawTableName(const char* name)
void SetTableStatus(TObjArray* columns = 0, Bool_t israwtable = kFALSE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TString fClassName ! class name
Int_t fClassVersion ! class version
Long64_t fClassId ! sql class id
TString fClassTable ! name of table with class data
TString fRawTable ! name of table with raw data
TObjArray* fColumns ! name and type of columns - array of TNamed
Bool_t fRawtableExist ! indicate that raw table is exist
________________________________________________________________________
TSQLClassInfo class containes info about tables specific to one class and
version. It provides names of table for that class. For each version of
class not more than two tables can exists. Normal table has typically
name like TH1_ver4 and additional table has name like TH1_raw4
List of this objects are kept by TSQLFile class
________________________________________________________________________
Int_t FindColumn(const char* name, Bool_t sqlname)
Search for column of that name
Can search either for full column name (sqlname = kFALSE, default)
or for name, used as column name (sqlname = kTRUE)
Return index of column in list (-1 if not found)
Author: Sergey Linev 20/11/2005
Last update: root/sql:$Name: $:$Id: TSQLClassInfo.cxx,v 1.4 2006/06/22 08:21:22 brun Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.