ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TOrdCollectionIter Class Reference

Iterator of ordered collection.

Definition at line 98 of file TOrdCollection.h.

Public Member Functions

 TOrdCollectionIter (const TOrdCollection *col, Bool_t dir=kIterForward)
 
 TOrdCollectionIter (const TOrdCollectionIter &iter)
 Copy ctor. More...
 
 ~TOrdCollectionIter ()
 
TIteratoroperator= (const TIterator &rhs)
 Overridden assignment operator. More...
 
TOrdCollectionIteroperator= (const TOrdCollectionIter &rhs)
 Overloaded assignment operator. More...
 
const TCollectionGetCollection () const
 
TObjectNext ()
 Return next object in collection. More...
 
void Reset ()
 Reset collection iterator. More...
 
Bool_t operator!= (const TIterator &aIter) const
 This operator compares two TIterator objects. More...
 
Bool_t operator!= (const TOrdCollectionIter &aIter) const
 This operator compares two TOrdCollectionIter objects. More...
 
TObjectoperator* () const
 Return current object or nullptr. More...
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

Private Member Functions

 TOrdCollectionIter ()
 

Private Attributes

const TOrdCollectionfCol
 
Int_t fCurCursor
 
Int_t fCursor
 
Bool_t fDirection
 

Additional Inherited Members

- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 

#include <TOrdCollection.h>

+ Inheritance diagram for TOrdCollectionIter:
+ Collaboration diagram for TOrdCollectionIter:

Constructor & Destructor Documentation

TOrdCollectionIter::TOrdCollectionIter ( )
inlineprivate

Definition at line 109 of file TOrdCollection.h.

TOrdCollectionIter::TOrdCollectionIter ( const TOrdCollection col,
Bool_t  dir = kIterForward 
)
TOrdCollectionIter::TOrdCollectionIter ( const TOrdCollectionIter iter)

Copy ctor.

Definition at line 460 of file TOrdCollection.cxx.

TOrdCollectionIter::~TOrdCollectionIter ( )
inline

Definition at line 114 of file TOrdCollection.h.

Member Function Documentation

const TCollection* TOrdCollectionIter::GetCollection ( ) const
inlinevirtual

Implements TIterator.

Definition at line 118 of file TOrdCollection.h.

TObject * TOrdCollectionIter::Next ( )
virtual

Return next object in collection.

Returns 0 when no more objects in collection.

Implements TIterator.

Definition at line 501 of file TOrdCollection.cxx.

Referenced by TWinNTSystem::CheckDescriptors(), TUnixSystem::CheckDescriptors(), TUnixSystem::CheckSignals(), TWinNTSystem::DispatchTimers(), TUnixSystem::DispatchTimers(), and TSystem::NextTimeOut().

Bool_t TOrdCollectionIter::operator!= ( const TIterator aIter) const
virtual

This operator compares two TIterator objects.

Reimplemented from TIterator.

Definition at line 530 of file TOrdCollection.cxx.

This operator compares two TOrdCollectionIter objects.

Definition at line 542 of file TOrdCollection.cxx.

TObject * TOrdCollectionIter::operator* ( ) const
virtual

Return current object or nullptr.

Reimplemented from TIterator.

Definition at line 550 of file TOrdCollection.cxx.

TIterator & TOrdCollectionIter::operator= ( const TIterator rhs)
virtual

Overridden assignment operator.

Reimplemented from TIterator.

Definition at line 471 of file TOrdCollection.cxx.

TOrdCollectionIter & TOrdCollectionIter::operator= ( const TOrdCollectionIter rhs)

Overloaded assignment operator.

Definition at line 486 of file TOrdCollection.cxx.

void TOrdCollectionIter::Reset ( void  )
virtual

Reset collection iterator.

Implements TIterator.

Definition at line 517 of file TOrdCollection.cxx.

Member Data Documentation

const TOrdCollection* TOrdCollectionIter::fCol
private

Definition at line 104 of file TOrdCollection.h.

Referenced by GetCollection(), Next(), operator*(), operator=(), Reset(), and TOrdCollectionIter().

Int_t TOrdCollectionIter::fCurCursor
private

Definition at line 105 of file TOrdCollection.h.

Referenced by Next(), operator!=(), operator*(), operator=(), Reset(), and TOrdCollectionIter().

Int_t TOrdCollectionIter::fCursor
private

Definition at line 106 of file TOrdCollection.h.

Referenced by Next(), operator=(), Reset(), and TOrdCollectionIter().

Bool_t TOrdCollectionIter::fDirection
private

Definition at line 107 of file TOrdCollection.h.

Referenced by Next(), operator=(), Reset(), and TOrdCollectionIter().


The documentation for this class was generated from the following files: