library: libSQL #include "TSQLClassInfo.h" |
TSQLClassInfo
class description - source file - inheritance tree (.pdf)
public:
TSQLClassInfo()
TSQLClassInfo(const char* classname, Int_t version)
TSQLClassInfo(const TSQLClassInfo&)
virtual ~TSQLClassInfo()
static TClass* Class()
const char* GetClassTableName() const
Int_t GetClassVarsion() 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 SetColumns(TObjArray* columns)
void SetRawExist(Bool_t on)
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
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_streamer_ver4
List of this objects are kept by TSQLFile class
________________________________________________________________________
TSQLClassInfo() :
TObject(),
fClassName(),
fClassVersion(0),
fClassTable(),
fRawTable(),
fColumns(0),
fRawtableExist(kFALSE)
default constructor
TSQLClassInfo(const char* classname, Int_t version) :
TObject(),
fClassName(classname),
fClassVersion(version),
fClassTable(),
fRawTable(),
fColumns(0),
fRawtableExist(kFALSE)
normal constructor of TSQLClassInfo class
Sets names of tables, which are used for that version of class
~TSQLClassInfo()
destructor
void SetColumns(TObjArray* columns)
assigns new list of columns
void SetTableStatus(TObjArray* columns, Bool_t israwtable)
set current status of class tables
Inline Functions
const char* GetName() const
Int_t GetClassVarsion() const
const char* GetClassTableName() const
const char* GetRawTableName() const
void SetRawExist(Bool_t on)
Bool_t IsClassTableExist() const
Bool_t IsRawTableExist() const
TObjArray* GetColumns() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TSQLClassInfo TSQLClassInfo(const TSQLClassInfo&)
TSQLClassInfo& operator=(const TSQLClassInfo&)
Author: Sergey Linev 20/11/2005
Last update: root/sql:$Name: $:$Id: TSQLClassInfo.cxx,v 1.3 2005/12/07 14:59:57 rdm 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.