#include <TSQLObjectData.h>
Inheritance diagram for TSQLObjectData:
Definition at line 62 of file TSQLObjectData.h.
TSQLObjectData::TSQLObjectData | ( | ) |
TSQLObjectData::TSQLObjectData | ( | TSQLClassInfo * | sqlinfo, | |
Long64_t | objid, | |||
TSQLResult * | classdata, | |||
TSQLRow * | classrow, | |||
TSQLResult * | blobdata, | |||
TSQLStatement * | blobstmt | |||
) |
Definition at line 86 of file TSQLObjectData.cxx.
References fClassData, fClassRow, fOwner, kTRUE, TSQLResult::Next(), and ShiftBlobRow().
TSQLObjectData::~TSQLObjectData | ( | ) | [virtual] |
Definition at line 121 of file TSQLObjectData.cxx.
References TObjArray::Delete(), fBlobData, fBlobRow, fBlobStmt, fClassData, fClassRow, fOwner, and fUnpack.
TSQLObjectData::TSQLObjectData | ( | ) |
TSQLObjectData::TSQLObjectData | ( | TSQLClassInfo * | sqlinfo, | |
Long64_t | objid, | |||
TSQLResult * | classdata, | |||
TSQLRow * | classrow, | |||
TSQLResult * | blobdata, | |||
TSQLStatement * | blobstmt | |||
) |
virtual TSQLObjectData::~TSQLObjectData | ( | ) | [virtual] |
Long64_t TSQLObjectData::GetObjId | ( | ) | const [inline] |
TSQLClassInfo* TSQLObjectData::GetInfo | ( | ) | const [inline] |
Definition at line 152 of file TSQLObjectData.cxx.
References TObjArray::Delete(), ExtractBlobValues(), fBlobRow, fBlobStmt, fClassData, fClassRow, fCurrentBlob, TSQLClassInfo::FindColumn(), fInfo, fLocatedColumn, fLocatedField, fLocatedValue, fUnpack, GetClassFieldName(), TSQLRow::GetField(), kFALSE, and kTRUE.
Referenced by TSQLStructure::UnpackTObject(), and TSQLStructure::UnpackTString().
Bool_t TSQLObjectData::IsBlobData | ( | ) | const [inline] |
Definition at line 80 of file TSQLObjectData.h.
References fCurrentBlob, and fUnpack.
Referenced by TBufferSQL2::ReadFastArray(), TBufferSQL2::ReadVersion(), TBufferSQL2::SqlReadObject(), VerifyDataType(), and TBufferSQL2::WorkWithClass().
void TSQLObjectData::ShiftToNextValue | ( | ) |
Definition at line 293 of file TSQLObjectData.cxx.
References TObjArray::Compress(), ExtractBlobValues(), fBlobPrefixName, fBlobTypeName, fClassData, fClassRow, fCurrentBlob, TObjArray::First(), fLocatedColumn, fLocatedField, fLocatedValue, fUnpack, GetClassFieldName(), TSQLRow::GetField(), TObjArray::GetLast(), GetNumClassFields(), kFALSE, kTRUE, TObjArray::Remove(), and ShiftBlobRow().
Referenced by TBufferSQL2::ReadVersion(), TBufferSQL2::SqlReadObject(), TBufferSQL2::SqlReadValue(), TSQLStructure::UnpackTObject(), and TBufferSQL2::WorkWithClass().
void TSQLObjectData::AddUnpack | ( | const char * | tname, | |
const char * | value | |||
) |
Definition at line 266 of file TSQLObjectData.cxx.
References TObjArray::Add(), fBlobPrefixName, fBlobTypeName, fLocatedValue, fUnpack, and str.
Referenced by AddUnpackInt().
void TSQLObjectData::AddUnpackInt | ( | const char * | tname, | |
Int_t | value | |||
) |
Definition at line 283 of file TSQLObjectData.cxx.
References AddUnpack(), TString::Data(), and TString::Form().
const char* TSQLObjectData::GetValue | ( | ) | const [inline] |
Definition at line 86 of file TSQLObjectData.h.
References fLocatedValue.
Referenced by TBufferSQL2::ReadVersion(), TBufferSQL2::SqlReadObject(), TBufferSQL2::SqlReadValue(), TSQLStructure::UnpackTObject(), TSQLStructure::UnpackTString(), and TBufferSQL2::WorkWithClass().
const char* TSQLObjectData::GetLocatedField | ( | ) | const [inline] |
Definition at line 87 of file TSQLObjectData.h.
References fLocatedField.
Referenced by TBufferSQL2::SqlReadObject().
const char* TSQLObjectData::GetBlobPrefixName | ( | ) | const [inline] |
Definition at line 88 of file TSQLObjectData.h.
References fBlobPrefixName.
Referenced by TBufferSQL2::ReadVersion().
const char* TSQLObjectData::GetBlobTypeName | ( | ) | const [inline] |
Definition at line 333 of file TSQLObjectData.cxx.
References TObject::Error(), fBlobTypeName, gDebug, IsBlobData(), kFALSE, kTRUE, and v1.
Referenced by TBufferSQL2::ReadFastArray(), TBufferSQL2::ReadVersion(), TBufferSQL2::SqlReadObject(), TBufferSQL2::SqlReadValue(), and TBufferSQL2::WorkWithClass().
Bool_t TSQLObjectData::PrepareForRawData | ( | ) |
Definition at line 367 of file TSQLObjectData.cxx.
References ExtractBlobValues(), fCurrentBlob, kFALSE, and kTRUE.
Referenced by TSQLStructure::LocateElementColumn(), and TBufferSQL2::SqlReadObjectDirect().
Bool_t TSQLObjectData::ExtractBlobValues | ( | ) | [protected] |
Definition at line 219 of file TSQLObjectData.cxx.
References fBlobPrefixName, fBlobRow, fBlobStmt, fBlobTypeName, fLocatedValue, TSQLRow::GetField(), TSQLStatement::GetString(), kFALSE, kTRUE, and name.
Referenced by LocateColumn(), PrepareForRawData(), and ShiftToNextValue().
Bool_t TSQLObjectData::ShiftBlobRow | ( | ) | [protected] |
Definition at line 203 of file TSQLObjectData.cxx.
References fBlobData, fBlobRow, fBlobStmt, TSQLResult::Next(), and TSQLStatement::NextResultRow().
Referenced by ShiftToNextValue(), and TSQLObjectData().
Int_t TSQLObjectData::GetNumClassFields | ( | ) | [protected] |
Definition at line 134 of file TSQLObjectData.cxx.
References fClassData, and TSQLResult::GetFieldCount().
Referenced by ShiftToNextValue().
const char * TSQLObjectData::GetClassFieldName | ( | Int_t | n | ) | [protected] |
Definition at line 143 of file TSQLObjectData.cxx.
References fClassData, and TSQLResult::GetFieldName().
Referenced by LocateColumn(), and ShiftToNextValue().
Long64_t TSQLObjectData::GetObjId | ( | ) | const [inline] |
TSQLClassInfo* TSQLObjectData::GetInfo | ( | ) | const [inline] |
Bool_t TSQLObjectData::IsBlobData | ( | ) | const [inline] |
void TSQLObjectData::ShiftToNextValue | ( | ) |
void TSQLObjectData::AddUnpack | ( | const char * | tname, | |
const char * | value | |||
) |
void TSQLObjectData::AddUnpackInt | ( | const char * | tname, | |
Int_t | value | |||
) |
const char* TSQLObjectData::GetValue | ( | ) | const [inline] |
const char* TSQLObjectData::GetLocatedField | ( | ) | const [inline] |
const char* TSQLObjectData::GetBlobPrefixName | ( | ) | const [inline] |
const char* TSQLObjectData::GetBlobTypeName | ( | ) | const [inline] |
Bool_t TSQLObjectData::PrepareForRawData | ( | ) |
Bool_t TSQLObjectData::ExtractBlobValues | ( | ) | [protected] |
Bool_t TSQLObjectData::ShiftBlobRow | ( | ) | [protected] |
Int_t TSQLObjectData::GetNumClassFields | ( | ) | [protected] |
const char* TSQLObjectData::GetClassFieldName | ( | Int_t | n | ) | [protected] |
TSQLClassInfo* TSQLObjectData::fInfo [protected] |
Long64_t TSQLObjectData::fObjId [protected] |
Bool_t TSQLObjectData::fOwner [protected] |
Definition at line 103 of file TSQLObjectData.h.
Referenced by TSQLObjectData(), and ~TSQLObjectData().
TSQLResult* TSQLObjectData::fClassData [protected] |
Definition at line 104 of file TSQLObjectData.h.
Referenced by GetClassFieldName(), GetNumClassFields(), LocateColumn(), ShiftToNextValue(), TSQLObjectData(), and ~TSQLObjectData().
TSQLResult* TSQLObjectData::fBlobData [protected] |
Definition at line 105 of file TSQLObjectData.h.
Referenced by ShiftBlobRow(), and ~TSQLObjectData().
TSQLStatement* TSQLObjectData::fBlobStmt [protected] |
Definition at line 106 of file TSQLObjectData.h.
Referenced by ExtractBlobValues(), LocateColumn(), ShiftBlobRow(), and ~TSQLObjectData().
Int_t TSQLObjectData::fLocatedColumn [protected] |
Definition at line 107 of file TSQLObjectData.h.
Referenced by LocateColumn(), and ShiftToNextValue().
TSQLRow* TSQLObjectData::fClassRow [protected] |
Definition at line 108 of file TSQLObjectData.h.
Referenced by LocateColumn(), ShiftToNextValue(), TSQLObjectData(), and ~TSQLObjectData().
TSQLRow* TSQLObjectData::fBlobRow [protected] |
Definition at line 109 of file TSQLObjectData.h.
Referenced by ExtractBlobValues(), LocateColumn(), ShiftBlobRow(), and ~TSQLObjectData().
const char* TSQLObjectData::fLocatedField [protected] |
Definition at line 110 of file TSQLObjectData.h.
Referenced by GetLocatedField(), LocateColumn(), and ShiftToNextValue().
const char* TSQLObjectData::fLocatedValue [protected] |
Definition at line 111 of file TSQLObjectData.h.
Referenced by AddUnpack(), ExtractBlobValues(), GetValue(), LocateColumn(), and ShiftToNextValue().
Bool_t TSQLObjectData::fCurrentBlob [protected] |
Definition at line 112 of file TSQLObjectData.h.
Referenced by IsBlobData(), LocateColumn(), PrepareForRawData(), and ShiftToNextValue().
const char* TSQLObjectData::fBlobPrefixName [protected] |
Definition at line 113 of file TSQLObjectData.h.
Referenced by AddUnpack(), ExtractBlobValues(), GetBlobPrefixName(), and ShiftToNextValue().
const char* TSQLObjectData::fBlobTypeName [protected] |
name prefix in current blob row
Definition at line 114 of file TSQLObjectData.h.
Referenced by AddUnpack(), ExtractBlobValues(), GetBlobTypeName(), ShiftToNextValue(), and VerifyDataType().
TObjArray* TSQLObjectData::fUnpack [protected] |
name type (without prefix) in current blob row
Definition at line 115 of file TSQLObjectData.h.
Referenced by AddUnpack(), IsBlobData(), LocateColumn(), ShiftToNextValue(), and ~TSQLObjectData().
TSQLClassInfo* TSQLObjectData::fInfo [protected] |
Definition at line 101 of file TSQLObjectData.h.
TSQLResult* TSQLObjectData::fClassData [protected] |
Definition at line 104 of file TSQLObjectData.h.
TSQLResult* TSQLObjectData::fBlobData [protected] |
Definition at line 105 of file TSQLObjectData.h.
TSQLStatement* TSQLObjectData::fBlobStmt [protected] |
Definition at line 106 of file TSQLObjectData.h.
TSQLRow* TSQLObjectData::fClassRow [protected] |
Definition at line 108 of file TSQLObjectData.h.
TSQLRow* TSQLObjectData::fBlobRow [protected] |
Definition at line 109 of file TSQLObjectData.h.
const char* TSQLObjectData::fLocatedField [protected] |
Definition at line 110 of file TSQLObjectData.h.
const char* TSQLObjectData::fLocatedValue [protected] |
Definition at line 111 of file TSQLObjectData.h.
const char* TSQLObjectData::fBlobPrefixName [protected] |
Definition at line 113 of file TSQLObjectData.h.
const char* TSQLObjectData::fBlobTypeName [protected] |
TObjArray* TSQLObjectData::fUnpack [protected] |