209 const char *
name =
nullptr;
232 const char *separ = strstr(
name,
":");
239 separ += std::char_traits<char>::length(
":");
274 sbuf.
Form(
"%d", value);
326 Error(
"VerifyDataType",
"Data type not specified");
336 Error(
"VerifyDataType",
"fBlobTypeName is null");
421 if (rowid == objid) {
int Int_t
Signed integer 4 bytes (int).
short Version_t
Class version identifier (short).
bool Bool_t
Boolean (0=false, 1=true) (bool).
long long Long64_t
Portable signed long integer 8 bytes.
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TObject()
TObject constructor.
Contains information about tables specific to one class and version.
TSQLRow * GetObjectRow(Long64_t objid)
Returns single sql row with object data for that class.
TSQLResult * fClassData
! results with request to selected table
TList * fRowsPool
! pool of extracted, but didnot used rows
~TSQLObjectDataPool() override
Destructor of TSQLObjectDataPool class Deletes not used rows and class data table.
Bool_t fIsMoreRows
! indicates if class data has not yet read rows
TSQLClassInfo * fInfo
! classinfo, for which pool is created
Bool_t LocateColumn(const char *colname, Bool_t isblob=kFALSE)
locate column of that name in results
TSQLStatement * fBlobStmt
!
TSQLObjectData()
default constructor
const char * fBlobPrefixName
! name prefix in current blob row
Bool_t ExtractBlobValues()
extract from curent blob row value and names identifiers
void ShiftToNextValue()
shift to next column or next row in blob data
Bool_t IsBlobData() const
const char * GetClassFieldName(Int_t n)
get name of class table column
const char * fLocatedValue
!
Bool_t ShiftBlobRow()
shift cursor to next blob value
void AddUnpack(const char *tname, const char *value)
add emulated data this used to place version or TObject raw data, read from normal tables
Int_t GetNumClassFields()
return number of columns in class table result
Bool_t PrepareForRawData()
prepare to read data from raw table
~TSQLObjectData() override
destructor of TSQLObjectData object
Bool_t VerifyDataType(const char *tname, Bool_t errormsg=kTRUE)
checks if data type corresponds to that stored in raw table
const char * fBlobTypeName
! name type (without prefix) in current blob row
void AddUnpackInt(const char *tname, Int_t value)
emulate integer value in raw data
const char * fLocatedField
!
~TSQLObjectInfo() override
const char * Data() const
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
Long64_t atol64(const char *value)