#include <TTreeResult.h>
Inheritance diagram for TTreeResult:
Public Member Functions | |
TTreeResult () | |
TTreeResult (Int_t nfields) | |
virtual | ~TTreeResult () |
void | Close (Option_t *option="") |
Int_t | GetFieldCount () |
const char * | GetFieldName (Int_t field) |
TObjArray * | GetRows () const |
TSQLRow * | Next () |
TTreeResult () | |
TTreeResult (Int_t nfields) | |
virtual | ~TTreeResult () |
void | Close (Option_t *option="") |
Int_t | GetFieldCount () |
const char * | GetFieldName (Int_t field) |
TObjArray * | GetRows () const |
TSQLRow * | Next () |
Private Member Functions | |
Bool_t | IsValid (Int_t field) |
void | AddField (Int_t field, const char *fieldname) |
void | AddRow (TSQLRow *row) |
Bool_t | IsValid (Int_t field) |
void | AddField (Int_t field, const char *fieldname) |
void | AddRow (TSQLRow *row) |
Private Attributes | |
Int_t | fColumnCount |
TString * | fFields |
TObjArray * | fResult |
Int_t | fNextRow |
TString * | fFields |
TObjArray * | fResult |
Friends | |
class | TTreePlayer |
Definition at line 36 of file TTreeResult.h.
TTreeResult::TTreeResult | ( | ) |
TTreeResult::TTreeResult | ( | Int_t | nfields | ) |
Definition at line 45 of file TTreeResult.cxx.
References fColumnCount, fFields, fNextRow, fResult, and TSQLResult::fRowCount.
TTreeResult::~TTreeResult | ( | ) | [virtual] |
TTreeResult::TTreeResult | ( | ) |
TTreeResult::TTreeResult | ( | Int_t | nfields | ) |
virtual TTreeResult::~TTreeResult | ( | ) | [virtual] |
Definition at line 82 of file TTreeResult.cxx.
References TObject::Error(), fResult, GetFieldCount(), kFALSE, and kTRUE.
Referenced by AddField(), and GetFieldName().
void TTreeResult::AddField | ( | Int_t | field, | |
const char * | fieldname | |||
) | [private] |
void TTreeResult::AddRow | ( | TSQLRow * | row | ) | [private] |
Definition at line 154 of file TTreeResult.cxx.
References TObjArray::Add(), TObject::Error(), fResult, TSQLResult::fRowCount, and row.
void TTreeResult::Close | ( | Option_t * | option = "" |
) | [virtual] |
Implements TSQLResult.
Definition at line 68 of file TTreeResult.cxx.
References TObjArray::Delete(), fResult, and TSQLResult::fRowCount.
Referenced by ~TTreeResult().
Int_t TTreeResult::GetFieldCount | ( | ) | [virtual] |
Implements TSQLResult.
Definition at line 98 of file TTreeResult.cxx.
References TObject::Error(), fColumnCount, and fResult.
Referenced by IsValid().
const char * TTreeResult::GetFieldName | ( | Int_t | field | ) | [virtual] |
Implements TSQLResult.
Definition at line 110 of file TTreeResult.cxx.
References TString::Data(), fFields, and IsValid().
TObjArray* TTreeResult::GetRows | ( | ) | const [inline] |
TSQLRow * TTreeResult::Next | ( | ) | [virtual] |
Implements TSQLResult.
Definition at line 121 of file TTreeResult.cxx.
References TObjArray::At(), TObject::Error(), fNextRow, fResult, TSQLResult::fRowCount, and row.
void TTreeResult::AddField | ( | Int_t | field, | |
const char * | fieldname | |||
) | [private] |
void TTreeResult::AddRow | ( | TSQLRow * | row | ) | [private] |
void TTreeResult::Close | ( | Option_t * | option = "" |
) | [virtual] |
Implements TSQLResult.
Int_t TTreeResult::GetFieldCount | ( | ) | [virtual] |
Implements TSQLResult.
const char* TTreeResult::GetFieldName | ( | Int_t | field | ) | [virtual] |
Implements TSQLResult.
TObjArray* TTreeResult::GetRows | ( | ) | const [inline] |
TSQLRow* TTreeResult::Next | ( | ) | [virtual] |
Implements TSQLResult.
TTreePlayer [friend] |
Definition at line 38 of file TTreeResult.h.
Int_t TTreeResult::fColumnCount [private] |
TString* TTreeResult::fFields [private] |
Definition at line 42 of file TTreeResult.h.
Referenced by AddField(), GetFieldName(), TTreeResult(), and ~TTreeResult().
TObjArray* TTreeResult::fResult [private] |
Definition at line 43 of file TTreeResult.h.
Referenced by AddRow(), Close(), GetFieldCount(), GetRows(), IsValid(), Next(), TTreeResult(), and ~TTreeResult().
Int_t TTreeResult::fNextRow [private] |
TString* TTreeResult::fFields [private] |
Definition at line 42 of file TTreeResult.h.
TObjArray* TTreeResult::fResult [private] |
Definition at line 43 of file TTreeResult.h.