#include <TSQLClassInfo.h>
Inheritance diagram for TSQLClassInfo:
Public Member Functions | |
TSQLClassInfo () | |
TSQLClassInfo (Long64_t classid, const char *classname, Int_t version) | |
virtual | ~TSQLClassInfo () |
Long64_t | GetClassId () const |
virtual const char * | GetName () const |
Int_t | GetClassVersion () const |
void | SetClassTableName (const char *name) |
void | SetRawTableName (const char *name) |
const char * | GetClassTableName () const |
const char * | GetRawTableName () const |
void | SetTableStatus (TObjArray *columns=0, Bool_t israwtable=kFALSE) |
void | SetColumns (TObjArray *columns) |
void | SetRawExist (Bool_t on) |
Bool_t | IsClassTableExist () const |
Bool_t | IsRawTableExist () const |
TObjArray * | GetColumns () const |
Int_t | FindColumn (const char *name, Bool_t sqlname=kFALSE) |
TSQLClassInfo () | |
TSQLClassInfo (Long64_t classid, const char *classname, Int_t version) | |
virtual | ~TSQLClassInfo () |
Long64_t | GetClassId () const |
virtual const char * | GetName () const |
Int_t | GetClassVersion () const |
void | SetClassTableName (const char *name) |
void | SetRawTableName (const char *name) |
const char * | GetClassTableName () const |
const char * | GetRawTableName () const |
void | SetTableStatus (TObjArray *columns=0, Bool_t israwtable=kFALSE) |
void | SetColumns (TObjArray *columns) |
void | SetRawExist (Bool_t on) |
Bool_t | IsClassTableExist () const |
Bool_t | IsRawTableExist () const |
TObjArray * | GetColumns () const |
Int_t | FindColumn (const char *name, Bool_t sqlname=kFALSE) |
Protected Member Functions | |
ClassDef (TSQLClassInfo, 1) | |
indicate that raw table is exist | |
ClassDef (TSQLClassInfo, 1) | |
indicate that raw table is exist | |
Protected Attributes | |
TString | fClassName |
Int_t | fClassVersion |
class name | |
Long64_t | fClassId |
class version | |
TString | fClassTable |
sql class id | |
TString | fRawTable |
name of table with class data | |
TObjArray * | fColumns |
name of table with raw data | |
Bool_t | fRawtableExist |
name and type of columns - array of TNamed | |
TObjArray * | fColumns |
name of table with raw data |
Definition at line 57 of file TSQLClassInfo.h.
TSQLClassInfo::TSQLClassInfo | ( | ) |
Definition at line 75 of file TSQLClassInfo.cxx.
References fClassTable, TString::Form(), and fRawTable.
TSQLClassInfo::~TSQLClassInfo | ( | ) | [virtual] |
TSQLClassInfo::TSQLClassInfo | ( | ) |
virtual TSQLClassInfo::~TSQLClassInfo | ( | ) | [virtual] |
Long64_t TSQLClassInfo::GetClassId | ( | ) | const [inline] |
Definition at line 66 of file TSQLClassInfo.h.
References fClassId.
Referenced by TSQLFile::CreateClassTable(), and TSQLFile::CreateRawTable().
virtual const char* TSQLClassInfo::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 68 of file TSQLClassInfo.h.
References TString::Data(), and fClassName.
Referenced by TSQLFile::CreateClassTable(), and TSQLFile::CreateRawTable().
Int_t TSQLClassInfo::GetClassVersion | ( | ) | const [inline] |
Definition at line 69 of file TSQLClassInfo.h.
References fClassVersion.
Referenced by TSQLFile::CreateClassTable(), and TSQLFile::CreateRawTable().
void TSQLClassInfo::SetClassTableName | ( | const char * | name | ) | [inline] |
void TSQLClassInfo::SetRawTableName | ( | const char * | name | ) | [inline] |
Definition at line 72 of file TSQLClassInfo.h.
References fRawTable.
Referenced by TSQLFile::ReadSQLClassInfos().
const char* TSQLClassInfo::GetClassTableName | ( | ) | const [inline] |
Definition at line 74 of file TSQLClassInfo.h.
References TString::Data(), and fClassTable.
Referenced by TSqlRegistry::ConvertPoolValues(), TSQLFile::CreateClassTable(), TSQLFile::CreateRawTable(), TSQLFile::DirWriteHeader(), TSQLFile::GetNormalClassData(), TSQLFile::GetNormalClassDataAll(), TSqlRegistry::InsertToNormalTableOracle(), TSQLFile::ProduceClassSelectQuery(), and TBufferSQL2::SqlObjectData().
const char* TSQLClassInfo::GetRawTableName | ( | ) | const [inline] |
Definition at line 75 of file TSQLClassInfo.h.
References TString::Data(), and fRawTable.
Referenced by TSqlRegistry::ConvertPoolValues(), TSQLFile::CreateRawTable(), TSQLFile::GetBlobClassData(), and TSQLFile::GetBlobClassDataStmt().
void TSQLClassInfo::SetColumns | ( | TObjArray * | columns | ) |
Definition at line 105 of file TSQLClassInfo.cxx.
References TObjArray::Delete(), and fColumns.
Referenced by TSQLFile::CreateClassTable(), and SetTableStatus().
void TSQLClassInfo::SetRawExist | ( | Bool_t | on | ) | [inline] |
Definition at line 79 of file TSQLClassInfo.h.
References fRawtableExist.
Referenced by TSQLFile::CreateRawTable(), and TSQLFile::ReadSQLClassInfos().
Bool_t TSQLClassInfo::IsClassTableExist | ( | ) | const [inline] |
Definition at line 81 of file TSQLClassInfo.h.
References GetColumns().
Referenced by TSQLFile::CreateClassTable(), TSQLFile::GetNormalClassData(), TSQLFile::GetNormalClassDataAll(), TSQLStructure::LocateElementColumn(), TSQLFile::ProduceClassSelectQuery(), and TBufferSQL2::SqlObjectData().
Bool_t TSQLClassInfo::IsRawTableExist | ( | ) | const [inline] |
Definition at line 82 of file TSQLClassInfo.h.
References fRawtableExist.
Referenced by TSQLFile::CreateRawTable(), TSQLFile::GetBlobClassData(), and TSQLFile::GetBlobClassDataStmt().
TObjArray* TSQLClassInfo::GetColumns | ( | ) | const [inline] |
Definition at line 84 of file TSQLClassInfo.h.
References fColumns.
Referenced by IsClassTableExist().
Definition at line 126 of file TSQLClassInfo.cxx.
References fColumns, TSQLClassColumnInfo::GetName(), and TSQLClassColumnInfo::GetSQLName().
Referenced by TSQLObjectData::LocateColumn().
TSQLClassInfo::ClassDef | ( | TSQLClassInfo | , | |
1 | ||||
) | [protected] |
indicate that raw table is exist
Long64_t TSQLClassInfo::GetClassId | ( | ) | const [inline] |
virtual const char* TSQLClassInfo::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 68 of file TSQLClassInfo.h.
References TString::Data(), and fClassName.
Int_t TSQLClassInfo::GetClassVersion | ( | ) | const [inline] |
void TSQLClassInfo::SetClassTableName | ( | const char * | name | ) | [inline] |
void TSQLClassInfo::SetRawTableName | ( | const char * | name | ) | [inline] |
const char* TSQLClassInfo::GetClassTableName | ( | ) | const [inline] |
const char* TSQLClassInfo::GetRawTableName | ( | ) | const [inline] |
void TSQLClassInfo::SetColumns | ( | TObjArray * | columns | ) |
void TSQLClassInfo::SetRawExist | ( | Bool_t | on | ) | [inline] |
Bool_t TSQLClassInfo::IsClassTableExist | ( | ) | const [inline] |
Bool_t TSQLClassInfo::IsRawTableExist | ( | ) | const [inline] |
TObjArray* TSQLClassInfo::GetColumns | ( | ) | const [inline] |
TSQLClassInfo::ClassDef | ( | TSQLClassInfo | , | |
1 | ||||
) | [protected] |
indicate that raw table is exist
TString TSQLClassInfo::fClassName [protected] |
Int_t TSQLClassInfo::fClassVersion [protected] |
Long64_t TSQLClassInfo::fClassId [protected] |
TString TSQLClassInfo::fClassTable [protected] |
sql class id
Definition at line 92 of file TSQLClassInfo.h.
Referenced by GetClassTableName(), SetClassTableName(), and TSQLClassInfo().
TString TSQLClassInfo::fRawTable [protected] |
name of table with class data
Definition at line 93 of file TSQLClassInfo.h.
Referenced by GetRawTableName(), SetRawTableName(), and TSQLClassInfo().
TObjArray* TSQLClassInfo::fColumns [protected] |
name of table with raw data
Definition at line 94 of file TSQLClassInfo.h.
Referenced by FindColumn(), GetColumns(), SetColumns(), and ~TSQLClassInfo().
Bool_t TSQLClassInfo::fRawtableExist [protected] |
name and type of columns - array of TNamed
Definition at line 95 of file TSQLClassInfo.h.
Referenced by IsRawTableExist(), SetRawExist(), and SetTableStatus().
TObjArray* TSQLClassInfo::fColumns [protected] |