12 #ifndef ROOT_TTreeResult 13 #define ROOT_TTreeResult 28 #ifndef ROOT_TSQLResult
void AddRow(TSQLRow *row)
Adopt a row to result set.
Int_t fColumnCount
number of columns in result
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
#define ClassDef(name, id)
TObjArray * fResult
query result (TTreeRow objects)
Int_t GetFieldCount()
Get number of fields in result.
TString * fFields
[fColumnCount] array containing field strings
TTreeResult()
Create a query result object.
TSQLRow * Next()
Get next query result row.
virtual ~TTreeResult()
Cleanup result object.
Int_t fNextRow
row iterator
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.