TTreeRow


class description - source file - inheritance tree

class TTreeRow : public TSQLRow

    private:
TTreeRow TTreeRow(TSQLRow* original) Bool_t IsValid(Int_t field) public:
TTreeRow TTreeRow(Int_t nfields) TTreeRow TTreeRow(TTreeRow&) virtual void ~TTreeRow() void AddField(Int_t field, const char* fieldvalue) static TClass* Class() virtual void Close(Option_t* option) virtual const char* GetField(Int_t field) const virtual ULong_t GetFieldLength(Int_t field) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fColumnCount number of columns in row TString* fFields array containing result strings TTreeRow* fOriginal pointer to original row protected:

Class Description

                                                                      
 TTreeRow                                                             
                                                                      
 Class defining interface to a row of a TTree query result.           
 Objects of this class are created by TTreeResult methods.            
                                                                      
 Related classes are TTreeResult.                                     
                                                                      


TTreeRow(Int_t nfields)
 Single row of a query result.

TTreeRow(TSQLRow *original)
 This is a shallow copy of a real row, i.e. it only contains
 a pointer to the original.

~TTreeRow()
 Destroy row object.

void Close(Option_t *)
 Close row.

Bool_t IsValid(Int_t field)
 Check if row is open and field index within range.

ULong_t GetFieldLength(Int_t field)
 Get length in bytes of specified field.

const char* GetField(Int_t field)
 Get specified field from row (0 <= field < GetFieldCount()).

void AddField(Int_t field, const char *fieldvalue)
 Add field value to row. This is an internal method that is not
 exported via the abstract interface and that should not be user called.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           TTreeRow TTreeRow(TTreeRow&)


Author: Fons Rademakers 30/11/99
Last update: root/tree:$Name: $:$Id: TTreeRow.cxx,v 1.1.1.1 2000/05/16 17:00:45 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.