75 Error(
"TTreeRow",
"original may not be 0");
79 Error(
"TTreeRow",
"original must be a TTreeRow");
113 Error(
"IsValid",
"row closed");
117 Error(
"IsValid",
"field index out of bounds");
135 else return fFields[0] -1;
163 fRow =
new char[nch];
165 memcpy(
fRow,row,nch);
171 void TTreeRow::Streamer(
TBuffer &R__b)
176 TSQLRow::Streamer(R__b);
182 fRow =
new char[nch];
187 TSQLRow::Streamer(R__b);
void SetRow(const Int_t *fields, const char *row)
The field and row information.
Buffer base class used for serializing objects.
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual UInt_t WriteVersion(const TClass *cl, Bool_t useBcnt=kFALSE)=0
const char * GetField(Int_t field)
Get specified field from row (0 <= field < GetFieldCount()).
Class defining interface to a row of a TTree query result.
void Close(Option_t *option="")
Close row.
Bool_t IsValid(Int_t field)
Check if row is open and field index within range.
ULong_t GetFieldLength(Int_t field)
Get length in bytes of specified field.
TTreeRow()
Single row of a query result.
virtual ~TTreeRow()
Destroy row object.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void SetByteCount(UInt_t cntpos, Bool_t packInVersion=kFALSE)=0
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual void WriteFastArray(const Bool_t *b, Int_t n)=0
Int_t * fFields
[fColumnCount] index in fRow of the end of each field
Int_t fColumnCount
number of columns in row
char * fRow
string with all the fColumnCount fields
TTreeRow * fOriginal
! pointer to original row
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0