library: libTable #include "TTableIter.h"

# TTableIter

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

## class TTableIter : public TObject

| Inheritance Chart:
`TObject`
| <- | `TTableIter` |

        protected:

                     TTableIter()
                     TTableIter(const TTableIter& org)

        public:

                          TTableIter(const TTableSorter* table, Float_t& keyvalue)
                          TTableIter(const TTableSorter* table, Double_t& keyvalue)
                          TTableIter(const TTableSorter* table, Int_t& keyvalue)
                          TTableIter(const TTableSorter* table, Long_t& keyvalue)
                          TTableIter(const TTableSorter* table, Short_t& keyvalue)
                  virtual ~TTableIter()
           static TClass* Class()
                    Int_t CountKey(Float_t& keyvalue)
                    Int_t CountKey(Long_t& keyvalue)
                    Int_t CountKey(Int_t& keyvalue)
                    Int_t CountKey(Short_t& keyvalue)
                    Int_t CountKey(Double_t& keyvalue)
                    Int_t GetNRows() const
          virtual TClass* IsA() const
                    Int_t Next()
                    Int_t Next(Int_t idx)
                    Int_t operator()()
                    Int_t operator[](Int_t idx)
                    Int_t Reset(Int_t indx = 0)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          const TTableSorter* fTableSorter
                        Int_t fIndx
                        Int_t fTotalKeys
                        Int_t fFirstIndx

## Class Description

     TTableIter - class iterator to loop over sorted TTable's

TTableIter(const TTableSorter *table, Float_t &keyvalue) : fTableSorter(table), fIndx(0), fFirstIndx(0)

TTableIter(const TTableSorter *table, Long_t &keyvalue) : fTableSorter(table), fIndx(0), fFirstIndx(0)

TTableIter(const TTableSorter *table, Int_t &keyvalue) : fTableSorter(table), fIndx(0), fFirstIndx(0)

TTableIter(const TTableSorter *table, Short_t &keyvalue) : fTableSorter(table), fIndx(0), fFirstIndx(0)

TTableIter(const TTableSorter *table, Double_t &keyvalue) : fTableSorter(table), fIndx(0), fFirstIndx(0)

Int_t CountKey(Float_t &keyvalue)

Int_t CountKey(Long_t &keyvalue)

Int_t CountKey(Int_t &keyvalue)

Int_t CountKey(Short_t &keyvalue)

Int_t CountKey(Double_t &keyvalue)

Int_t Next()

Int_t Next(Int_t idx)

Int_t Reset(Int_t indx)

### Inline Functions

                   void ~TTableIter()
             TTableIter TTableIter(const TTableSorter* table, Long_t& keyvalue)
             TTableIter TTableIter(const TTableSorter* table, Short_t& keyvalue)
                  Int_t GetNRows() const
                  Int_t operator()()
                  Int_t operator[](Int_t idx)
                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) 03/12/99
Last update: root/star:$Name: $:$Id: TTableIter.cxx,v 1.2 2003/01/27 20:41:37 brun Exp $