ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » DATASTRUCT » HMatrixCatIter

class HMatrixCatIter: public HIterator

_HADES_CLASS_DESCRIPTION

HMatrixCatIter

   This is a HIterator for HMatrixCategory.


Function Members (Methods)

public:
HMatrixCatIter(const HMatrixCatIter&)
HMatrixCatIter(HMatrixCategory* cat, Bool_t dir = kIterForward)
virtual~HMatrixCatIter()
static TClass*Class()
virtual TCollection*GetCollection() const
virtual HLocation&getLocation()
virtual Option_t*TIterator::GetOption() const
virtual Bool_tgotoLocation(HLocation& loc)
virtual TClass*IsA() const
virtual TObject*Next()
virtual Bool_tTIterator::operator!=(const TIterator&) const
TObject*TIterator::operator()()
virtual TObject*TIterator::operator*() const
HMatrixCatIter&operator=(const HMatrixCatIter&)
Bool_tTIterator::operator==(const TIterator& other) const
virtual voidReset()
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
private:
HMatrixCatIter()

Data Members

protected:
Int_tfAntCursorCursor of previous interation
Int_tfBeginFirst value of fCursor
HMatrixCategory*fCategory! Category being iterated
HLocationfCurrentLocCurrent location in the category
Int_tfCursorCursor for linear iteration
Bool_tfDirIteration direction.
Int_tfEndLast possible value of fCursor
TArrayI*fSizes! Sizes of the category

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMatrixCatIter(const HMatrixCatIter& )
Default constructor. Never call
HMatrixCatIter(HMatrixCategory* cat, Bool_t dir = kIterForward)
Allocates a new HIterator pointing to the category cat and iterating in the direction
dir
~HMatrixCatIter(void)
Destructor
TCollection * GetCollection(void)
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.
HMatrixCatIter(const HMatrixCatIter& )