library: libTree #include "TTreeResult.h" |
TTreeResult
class description - source file - inheritance tree (.pdf)
private:
void AddField(Int_t field, const char* fieldname)
void AddRow(TSQLRow* row)
Bool_t IsValid(Int_t field)
public:
TTreeResult()
TTreeResult(Int_t nfields)
TTreeResult(const TTreeResult&)
virtual ~TTreeResult()
static TClass* Class()
virtual void Close(Option_t* option)
virtual Int_t GetFieldCount()
virtual const char* GetFieldName(Int_t field) const
TObjArray* GetRows() const
virtual TClass* IsA() const
virtual TSQLRow* Next()
TTreeResult& operator=(const TTreeResult&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t fColumnCount number of columns in result
TString* fFields [fColumnCount] array containing field strings
TObjArray* fResult query result (TTreeRow objects)
Int_t fNextRow row iterator
TTreeResult
Class defining interface to a TTree query result with the same
interface as for SQL databases. A TTreeResult is returned by
TTree::Query() (actually TTreePlayer::Query()).
Related classes are TTreeRow.
TTreeResult()
Create a query result object.
TTreeResult(Int_t nfields)
Create a query result object.
~TTreeResult()
Cleanup result object.
void Close(Option_t *)
Close query result.
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
Int_t GetFieldCount()
Get number of fields in result.
const char* GetFieldName(Int_t field)
Get name of specified field.
TSQLRow* Next()
Get next query result row. The returned object must be
deleted by the user and becomes invalid when the result set is
closed or deleted.
void AddField(Int_t field, const char *fieldname)
Add field name to result set. This is an internal method that is not
exported via the abstract interface and that should not be user called.
void AddRow(TSQLRow *row)
Adopt a row to result set. This is an internal method that is not
exported via the abstract interface and that should not be user called.
Inline Functions
TObjArray* GetRows() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TTreeResult TTreeResult(const TTreeResult&)
TTreeResult& operator=(const TTreeResult&)
Author: Fons Rademakers 30/11/99
Last update: root/tree:$Name: $:$Id: TTreeResult.cxx,v 1.3 2001/12/08 15:18:36 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.