library: libTable #include "TChair.h"

# TChair

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

## class TChair : public TDataSet

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TDataSet`

<-

`TChair`

<-

`TColumnView` |

        protected:

                        TChair()
           static void* GetOffset(const void* base, ULong_t offset)
                TTable* GetThisTable()
          const TTable* GetThisTable() const

        public:

                                    TChair(TTable* table)
                                    TChair(const TChair& org)
                            virtual ~TChair()
                       virtual void AddAt(TDataSet* dataset, Int_t idx)
                       virtual void AddAt(const void* c, Int_t i)
                       virtual void Adopt(Int_t n, void* array)
                        const void* At(Int_t i) const
                       virtual void Browse(TBrowser* b)
                     static TClass* Class()
                              Int_t CopyRows(const TChair* srcChair, Int_t srcRow = 0, Int_t dstRow = 0, Int_t nRows = 0, Bool_t expand = kFALSE)
                       virtual void CopySet(TChair& chair)
                       virtual void Draw(Option_t* opt)
                       virtual TH1* Draw(TCut varexp, TCut selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
                       virtual TH1* Draw(const Text_t* varexp, const Text_t* selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
                       virtual void Fit(const Text_t* formula, const Text_t* varexp, const Text_t* selection = "", Option_t* option = "", Option_t* goption = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
                    virtual Char_t* GetArray() const
                     virtual Long_t GetNRows() const
                    virtual TClass* GetRowClass() const
          virtual TTableDescriptor* GetRowDescriptors() const
                     virtual Long_t GetRowSize() const
                     virtual Long_t GetTableSize() const
              virtual const Char_t* GetType() const
                     virtual Long_t HasData() const
                    virtual TClass* IsA() const
                     virtual Bool_t IsFolder() const
                       virtual void ls(Option_t* option = "") const
                       virtual void ls(Int_t deep) const
                    virtual Char_t* MakeExpression(const Char_t** expressions, Int_t nExpressions)
                              Int_t NaN()
                              void* operator[](Int_t i)
                        const void* operator[](Int_t i) const
                    virtual Char_t* Print(Char_t* buf, Int_t n) const
                       virtual void Print(Option_t* opt = "") const
              virtual const Char_t* Print(Int_t row, Int_t rownumber = 10, const Char_t* colfirst = "", const Char_t* collast = "") const
              virtual const Char_t* PrintHeader() const
                      virtual Int_t Purge(Option_t* opt = "")
                              void* ReAllocate(Int_t newsize)
                              void* ReAllocate()
                       virtual void Reset(Int_t c = 0)
                       virtual void SavePrimitive(ofstream& out, Option_t* option)
                       virtual void Set(Int_t n)
                       virtual void Set(Int_t n, Char_t* array)
                       virtual void SetNRows(Int_t n)
                       virtual void ShowMembers(TMemberInspector& insp, char* parent)
                       virtual void Streamer(TBuffer& b)
                               void StreamerNVirtual(TBuffer& b)
                      const TTable* Table() const
                       virtual void Update()
                       virtual void Update(TDataSet* set, UInt_t opt = 0)

### Data Members

        protected:

          TTable* fTable     the "TTable" object this object is pthe proxy for
          ULong_t fLastIndx  index pof the last used  table row;
            void* fLastRow   pointer to the last used table row; fLastRow = table[fLastIndx]

## Class Description

      TChair

      It is a base class to create a custom interface for TTable objects

### Inline Functions

                         void ~TChair()
                      TTable* GetThisTable()
                const TTable* GetThisTable() const
                        void* GetOffset(const void* base, ULong_t offset)
                       TChair TChair()
                       TChair TChair(TTable* table)
                       TChair TChair(const TChair& org)
                         void Adopt(Int_t n, void* array)
                         void AddAt(TDataSet* dataset, Int_t idx)
                         void AddAt(const void* c, Int_t i)
                  const void* At(Int_t i) const
                         void Browse(TBrowser* b)
                         void CopySet(TChair& chair)
                        Int_t CopyRows(const TChair* srcChair, Int_t srcRow = 0, Int_t dstRow = 0, Int_t nRows = 0, Bool_t expand = kFALSE)
                         void Draw(Option_t* opt)
                         TH1* Draw(TCut varexp, TCut selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
                         TH1* Draw(const Text_t* varexp, const Text_t* selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
                      Char_t* GetArray() const
                      TClass* GetRowClass() const
                       Long_t GetNRows() const
                       Long_t GetRowSize() const
                       Long_t GetTableSize() const
                const TTable* Table() const
            TTableDescriptor* GetRowDescriptors() const
                const Char_t* GetType() const
                         void Fit(const Text_t* formula, const Text_t* varexp, const Text_t* selection = "", Option_t* option = "", Option_t* goption = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
                       Long_t HasData() const
                       Bool_t IsFolder() const
                         void ls(Option_t* option = "") const
                         void ls(Int_t deep) const
                        Int_t NaN()
                      Char_t* MakeExpression(const Char_t** expressions, Int_t nExpressions)
                      Char_t* Print(Char_t* buf, Int_t n) const
                         void Print(Option_t* opt = "") const
                const Char_t* Print(Int_t row, Int_t rownumber = 10, const Char_t* colfirst = "", const Char_t* collast = "") const
                const Char_t* PrintHeader() const
                        Int_t Purge(Option_t* opt = "")
                        void* ReAllocate(Int_t newsize)
                        void* ReAllocate()
                         void SavePrimitive(ofstream& out, Option_t* option)
                         void Set(Int_t n)
                         void Set(Int_t n, Char_t* array)
                         void SetNRows(Int_t n)
                         void Reset(Int_t c = 0)
                         void Update()
                         void Update(TDataSet* set, UInt_t opt = 0)
                        void* operator[](Int_t i)
                  const void* operator[](Int_t i) const
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

Author: Valery Fine(fine@bnl.gov) 13/03/2000
Last update: root/star:$Name: $:$Id: TChair.cxx,v 1.2 2003/01/27 20:41:36 brun Exp $