TObjArrayIter
class description - source file - inheritance tree
private:
TObjArrayIter TObjArrayIter()
public:
TObjArrayIter TObjArrayIter(const TObjArray* arr, Bool_t dir = kIterForward)
TObjArrayIter TObjArrayIter(const TObjArrayIter& iter)
virtual void ~TObjArrayIter()
TClass* Class()
virtual const TCollection* GetCollection() const
virtual TClass* IsA() const
virtual TObject* Next()
virtual TIterator& operator=(const TIterator& rhs)
TObjArrayIter& operator=(const TObjArrayIter& rhs)
virtual void Reset()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
const TObjArray* fArray array being iterated
Int_t fCursor current position in array
Bool_t fDirection iteration direction
TObjArray
An array of TObjects. The array expands automatically when
objects are added (shrinking can be done by hand using Expand(),
how nice to have meaningful names -:)).
Use operator[] to have "real" array behaviour.
/*
*/
TObjArrayIter(const TObjArray *arr, Bool_t dir)
Create array iterator. By default the iteration direction
is kIterForward. To go backward use kIterBackward.
TObjArrayIter(const TObjArrayIter &iter)
Copy ctor.
TObject* Next()
Return next object in array. Returns 0 when no more objects in array.
void Reset()
Reset array iterator.
Inline Functions
TObjArrayIter TObjArrayIter(const TObjArrayIter& iter)
TIterator& operator=(const TIterator& rhs)
TObjArrayIter& operator=(const TObjArrayIter& rhs)
const TCollection* GetCollection() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~TObjArrayIter()
Author: Fons Rademakers 11/09/95
Last update: 2.23/07 27/10/99 17.38.16 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - 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.