#include "hmatrixcatiter.h"

HMatrixCatIter


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

class HMatrixCatIter : public HIterator

Inheritance Chart:
TIterator
<-
HIterator
<-
HMatrixCatIter
    private:
HMatrixCatIter() public:
HMatrixCatIter(HMatrixCategory* cat, Bool_t dir = kIterForward) HMatrixCatIter(const HMatrixCatIter&) virtual ~HMatrixCatIter() static TClass* Class() virtual TCollection* GetCollection() const virtual HLocation& getLocation() virtual Bool_t gotoLocation(HLocation& loc) virtual TClass* IsA() const virtual TObject* Next() HMatrixCatIter& operator=(const HMatrixCatIter&) virtual void Reset() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HLocation fCurrentLoc Current location in the category HMatrixCategory* fCategory ! Category being iterated TArrayI* fSizes ! Sizes of the category Int_t fCursor Cursor for linear iteration Int_t fAntCursor Cursor of previous interation Bool_t fDir Iteration direction. Int_t fEnd Last possible value of fCursor Int_t fBegin First value of fCursor

Class Description

HMatrixCatIter

   This is a HIterator for HMatrixCategory.



HMatrixCatIter(void)
Default constructor. Never call

HMatrixCatIter(HMatrixCategory *cat,Bool_t dir)
Allocates a new HIterator pointing to the category cat and iterating in the direction
dir

~HMatrixCatIter(void)
Destructor

TCollection* GetCollection(void) const
Returns the internal collection where the category stores data

TObject* Next(void)
Advances to next object and returns a pointer to it.
Returns NULL when reaches the end

void Reset(void)
Points the iterator to the first object in the category

Bool_t gotoLocation(HLocation &loc)
Points the iterator to the object given in the location loc

HLocation& getLocation(void)
Gets the location of the currently pointed object.



Inline Functions


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


Author: Manuel Sanchez
Last update: 2/04/98
Copyright GENP


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.