12 #ifndef ROOT_TTreeResult
13 #define ROOT_TTreeResult
28 #ifndef ROOT_TSQLResult
void AddRow(TSQLRow *row)
Adopt a row to result set.
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
#define ClassDef(name, id)
Int_t GetFieldCount()
Get number of fields in result.
TSQLRow * Next()
Get next query result row.
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.
TObjArray * GetRows() const
void Close(Option_t *option="")
Close query result.
Implement some of the functionality of the class TTree requiring access to extra libraries (Histogram...
void AddField(Int_t field, const char *fieldname)
Add field name to result set.