library: libTree
#include "TTreeRow.h"


class description - source file - inheritance tree (.pdf)

class TTreeRow : public TSQLRow

Inheritance Chart:
TTreeRow(TSQLRow* original) Bool_t IsValid(Int_t field) public:
TTreeRow() TTreeRow(Int_t nfields) TTreeRow(Int_t nfields, const Int_t* fields, const char* row) TTreeRow(const TTreeRow&) virtual ~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 TTreeRow& operator=(const TTreeRow&) 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

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

Class Description

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

 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.

 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(const TTreeRow&)
          TTreeRow& operator=(const 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 - 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.