library: libSQL #include "TSQLObjectData.h" |
TSQLObjectData
class description - header file - source file - inheritance tree (.pdf)
protected:
Bool_t ExtractBlobValues()
const char* GetClassFieldName(Int_t n)
Int_t GetNumClassFields()
Bool_t ShiftBlobRow()
public:
TSQLObjectData()
TSQLObjectData(TSQLClassInfo* sqlinfo, Long64_t objid, TSQLResult* classdata, TSQLRow* classrow, TSQLResult* blobdata, TSQLStatement* blobstmt)
TSQLObjectData(const TSQLObjectData&)
virtual ~TSQLObjectData()
void AddUnpack(const char* tname, const char* value)
void AddUnpackInt(const char* tname, Int_t value)
static TClass* Class()
const char* GetBlobPrefixName() const
const char* GetBlobTypeName() const
TSQLClassInfo* GetInfo() const
const char* GetLocatedField() const
Long64_t GetObjId() const
const char* GetValue() const
virtual TClass* IsA() const
Bool_t IsBlobData() const
Bool_t LocateColumn(const char* colname, Bool_t isblob = kFALSE)
Bool_t PrepareForRawData()
void ShiftToNextValue()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Bool_t VerifyDataType(const char* tname, Bool_t errormsg = kTRUE)
protected:
TSQLClassInfo* fInfo !
Long64_t fObjId !
Bool_t fOwner !
TSQLResult* fClassData !
TSQLResult* fBlobData !
TSQLStatement* fBlobStmt !
Int_t fLocatedColumn !
Int_t fLocatedBlob !
TSQLRow* fClassRow !
TSQLRow* fBlobRow !
const char* fLocatedField !
const char* fLocatedValue !
Bool_t fCurrentBlob !
const char* fBlobPrefixName ! name prefix in current blob row
const char* fBlobTypeName ! name type (without prefix) in current blob row
TObjArray* fUnpack !
________________________________________________________________________
TSQLObjectData is used in TBufferSQL2 class in reading procedure.
It contains data, request from database table for one specifc
object for one specific class. For instance, when data for
class TH1 required, requests will be done to
TH1_ver4 and TH1_raw4 tables and result of these requests
will be kept in single TSQLObjectData instance.
________________________________________________________________________
void AddUnpack(const char* tname, const char* value)
add emulated data
this used to place version or TObject raw data, read from normal tables
Author: Sergey Linev 20/11/2005
Last update: root/sql:$Name: $:$Id: TSQLObjectData.cxx,v 1.8 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.