TObjArrayIter
class description - source file - inheritance tree
private:
TObjArrayIter TObjArrayIter()
public:
TObjArrayIter TObjArrayIter(TObjArray* arr, Bool_t dir = kIterForward)
TObjArrayIter TObjArrayIter(TObjArrayIter& iter)
virtual void ~TObjArrayIter()
TClass* Class()
virtual const TCollection* GetCollection()
virtual TClass* IsA()
virtual TObject* Next()
virtual TIterator& operator=(TIterator& rhs)
TObjArrayIter& operator=(TObjArrayIter& rhs)
virtual void Reset()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
static 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(TObjArrayIter& iter)
TIterator& operator=(TIterator& rhs)
TObjArrayIter& operator=(TObjArrayIter& rhs)
const TCollection* GetCollection()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~TObjArrayIter()
Author: Fons Rademakers 11/09/95
Last update: 2.22/07 05/07/99 18.55.30 by Fons Rademakers
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.