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 boolTIterator::operator!=(const TIterator&) const
TObject*TIterator::operator()()
virtual TObject*TIterator::operator*() const
HMatrixCatIter&operator=(const HMatrixCatIter&)
virtual voidReset()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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& )

Last change: Sat May 22 12:59:27 2010
Last generated: 2010-05-22 12:59

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.