TTreeRow


class description - source file - inheritance tree

class TTreeRow : public TSQLRow

    private:
TTreeRow TTreeRow(TSQLRow* original) Bool_t IsValid(Int_t field) protected:
public:
TTreeRow TTreeRow() TTreeRow TTreeRow(Int_t nfields) TTreeRow TTreeRow(Int_t nfields, const Int_t* fields, const char* row) TTreeRow TTreeRow(TTreeRow&) virtual void ~TTreeRow() 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 void SetRow(const Int_t* fields, const char* row) 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 Int_t* fFields [fColumnCount] index in fRow of the end of each field char* fRow string with all the fColumnCount fields TTreeRow* fOriginal ! pointer to original row protected:
public:

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()
 Single row of a query result.

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

TTreeRow(Int_t nfields, const Int_t *fields, const char *row)
 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 SetRow(const Int_t *fields, const char *row)

void Streamer(TBuffer &R__b)
 Stream an object of class TTreeRow.



Inline Functions


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


Author: Fons Rademakers 30/11/99
Last update: root/tree:$Name: $:$Id: TTreeRow.cxx,v 1.3 2002/01/08 09:59:39 brun 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.