TTreeResult Class Reference

#include <TTreeResult.h>

Inheritance diagram for TTreeResult:

TSQLResult TSQLResult TObject TObject TObject TObject List of all members.

Public Member Functions

 TTreeResult ()
 TTreeResult (Int_t nfields)
virtual ~TTreeResult ()
void Close (Option_t *option="")
Int_t GetFieldCount ()
const char * GetFieldName (Int_t field)
TObjArrayGetRows () const
TSQLRowNext ()
 TTreeResult ()
 TTreeResult (Int_t nfields)
virtual ~TTreeResult ()
void Close (Option_t *option="")
Int_t GetFieldCount ()
const char * GetFieldName (Int_t field)
TObjArrayGetRows () const
TSQLRowNext ()

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
TStringfFields
TObjArrayfResult
Int_t fNextRow
TStringfFields
TObjArrayfResult

Friends

class TTreePlayer

Detailed Description

Definition at line 36 of file TTreeResult.h.


Constructor & Destructor Documentation

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]

Definition at line 57 of file TTreeResult.cxx.

References Close(), fFields, and fResult.

TTreeResult::TTreeResult (  ) 

TTreeResult::TTreeResult ( Int_t  nfields  ) 

virtual TTreeResult::~TTreeResult (  )  [virtual]


Member Function Documentation

Bool_t TTreeResult::IsValid ( Int_t  field  )  [private]

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]

Definition at line 142 of file TTreeResult.cxx.

References fFields, and IsValid().

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]

Definition at line 58 of file TTreeResult.h.

References fResult.

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.

Bool_t TTreeResult::IsValid ( Int_t  field  )  [private]

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]

Definition at line 58 of file TTreeResult.h.

References fResult.

TSQLRow* TTreeResult::Next (  )  [virtual]

Implements TSQLResult.


Friends And Related Function Documentation

TTreePlayer [friend]

Definition at line 38 of file TTreeResult.h.


Member Data Documentation

Int_t TTreeResult::fColumnCount [private]

Definition at line 41 of file TTreeResult.h.

Referenced by GetFieldCount(), and TTreeResult().

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]

Definition at line 44 of file TTreeResult.h.

Referenced by Next(), and TTreeResult().

TString* TTreeResult::fFields [private]

Definition at line 42 of file TTreeResult.h.

TObjArray* TTreeResult::fResult [private]

Definition at line 43 of file TTreeResult.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:48:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1