12#ifndef ROOT_TTreeResult
13#define ROOT_TTreeResult
#define ClassDef(name, id)
Implement some of the functionality of the class TTree requiring access to extra libraries (Histogram...
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.
Int_t fColumnCount
number of columns in result
void Close(Option_t *option="")
Close query result.
TTreeResult()
Create a query result object.
TObjArray * GetRows() const
Int_t fNextRow
row iterator
TSQLRow * Next()
Get next query result row.
TString * fFields
[fColumnCount] array containing field strings
virtual ~TTreeResult()
Cleanup result object.
Int_t GetFieldCount()
Get number of fields in result.
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
void AddRow(TSQLRow *row)
Adopt a row to result set.
TObjArray * fResult
query result (TTreeRow objects)
void AddField(Int_t field, const char *fieldname)
Add field name to result set.