TOrdCollectionIter
class description - source file - inheritance tree
private:
TOrdCollectionIter TOrdCollectionIter()
public:
TOrdCollectionIter TOrdCollectionIter(const TOrdCollection* col, Bool_t dir = kIterForward)
TOrdCollectionIter TOrdCollectionIter(const TOrdCollectionIter& iter)
virtual void ~TOrdCollectionIter()
TClass* Class()
virtual const TCollection* GetCollection() const
virtual TClass* IsA() const
virtual TObject* Next()
virtual TIterator& operator=(const TIterator& rhs)
TOrdCollectionIter& operator=(const TOrdCollectionIter& rhs)
virtual void Reset()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
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(const TOrdCollectionIter& iter)
TIterator& operator=(const TIterator& rhs)
TOrdCollectionIter& operator=(const TOrdCollectionIter& rhs)
const TCollection* GetCollection() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~TOrdCollectionIter()
Author: Fons Rademakers 13/09/95
Last update: 2.23/07 27/10/99 10.47.27 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.