12 #ifndef ROOT_TTreeResult
13 #define ROOT_TTreeResult
34 class TTreeResult :
public TSQLResult {
36 friend class TTreePlayer;
44 Bool_t IsValid(Int_t field);
45 void AddField(Int_t field,
const char *fieldname);
46 void AddRow(TSQLRow *row);
50 TTreeResult(Int_t nfields);
51 virtual ~TTreeResult();
53 void Close(Option_t *option=
"");
54 Int_t GetFieldCount();
55 const char *GetFieldName(Int_t field);
56 TObjArray *GetRows()
const {
return fResult;}
59 ClassDef(TTreeResult,1)