82 Error(
"IsValid",
"result set closed");
86 Error(
"IsValid",
"field index out of bounds");
98 Error(
"GetFieldCount",
"result set closed");
123 Error(
"Next",
"result set closed");
155 Error(
"AddRow",
"result set closed");
void AddRow(TSQLRow *row)
Adopt a row to result set.
ClassImp(TTreeResult) TTreeResult
Create a query result object.
virtual void Delete(Option_t *option="")
Remove all objects from the array AND delete all heap based objects.
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
const char * Data() const
Class defining interface to a row of a TTree query result.
Int_t GetFieldCount()
Get number of fields in result.
TSQLRow * Next()
Get next query result row.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual ~TTreeResult()
Cleanup result object.
Class defining interface to a TTree query result with the same interface as for SQL databases...
const char * GetFieldName(Int_t field)
Get name of specified field.
void Close(Option_t *option="")
Close query result.
TObject * At(Int_t idx) const
void AddField(Int_t field, const char *fieldname)
Add field name to result set.