TOrdCollectionIter
class description - source file - inheritance tree
private:
TOrdCollectionIter TOrdCollectionIter()
public:
TOrdCollectionIter TOrdCollectionIter(TOrdCollection* col, Bool_t dir = kIterForward)
TOrdCollectionIter TOrdCollectionIter(TOrdCollectionIter& iter)
virtual void ~TOrdCollectionIter()
TClass* Class()
virtual const TCollection* GetCollection()
virtual TClass* IsA()
virtual TObject* Next()
virtual TIterator& operator=(TIterator& rhs)
TOrdCollectionIter& operator=(TOrdCollectionIter& rhs)
virtual void Reset()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
static const TOrdCollection* fCol collection being iterated
Int_t fCursor current position in collection
Bool_t fDirection iteration direction
TOrdCollection
Ordered collection. An ordered collection has TList insertion
semantics but is implemented using an array of TObject*'s. It uses
less space than a TList (since there is no need for the prev and
next pointers), but it is more costly to insert objects (since it
has to create a gap by copying object pointers). TOrdCollection
is better than TList when objects are only added at the end of the
collection since no copying needs to be done.
/*
*/
TOrdCollectionIter(const TOrdCollection *col, Bool_t dir)
Create collection iterator. By default the iteration direction
is kIterForward. To go backward use kIterBackward.
TOrdCollectionIter(const TOrdCollectionIter &iter)
Copy ctor.
TObject* Next()
Return next object in collection. Returns 0 when no more objects in
collection.
void Reset()
Reset collection iterator.
Inline Functions
TOrdCollectionIter TOrdCollectionIter(TOrdCollectionIter& iter)
TIterator& operator=(TIterator& rhs)
TOrdCollectionIter& operator=(TOrdCollectionIter& rhs)
const TCollection* GetCollection()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~TOrdCollectionIter()
Author: Fons Rademakers 13/09/95
Last update: 2.22/07 05/07/99 18.55.52 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.