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");
163 fRow =
new char[nch];
165 memcpy(
fRow,row,nch);
171void TTreeRow::Streamer(
TBuffer &R__b)
176 TSQLRow::Streamer(R__b);
182 fRow =
new char[nch];
187 TSQLRow::Streamer(R__b);
Buffer base class used for serializing objects.
virtual void SetByteCount(UInt_t cntpos, Bool_t packInVersion=kFALSE)=0
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual UInt_t WriteVersion(const TClass *cl, Bool_t useBcnt=kFALSE)=0
virtual void WriteFastArray(const Bool_t *b, Int_t n)=0
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Class defining interface to a row of a TTree query result.
Int_t fColumnCount
number of columns in row
const char * GetField(Int_t field)
Get specified field from row (0 <= field < GetFieldCount()).
Int_t * fFields
[fColumnCount] index in fRow of the end of each field
void SetRow(const Int_t *fields, const char *row)
The field and row information.
TTreeRow * fOriginal
! pointer to original row
virtual ~TTreeRow()
Destroy row object.
char * fRow
string with all the fColumnCount fields
TTreeRow()
Single row of a 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.