CollectionIterator Class Reference

#include <CollectionIterator.h>

Collaboration diagram for CollectionIterator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CollectionIterator (ObjectCollection *pOn)
 ~CollectionIterator ()
ObjectGetNext ()

Private Member Functions

bool AnyMoreObjects ()

Private Attributes

ObjectCollectionCollection
ObjectLinkPosition


Detailed Description

Definition at line 8 of file CollectionIterator.h.


Constructor & Destructor Documentation

CollectionIterator::CollectionIterator ( ObjectCollection pOn  ) 

Definition at line 6 of file CollectionIterator.cpp.

References Collection, ObjectCollection::First, and Position.

CollectionIterator::~CollectionIterator (  ) 

Definition at line 13 of file CollectionIterator.cpp.


Member Function Documentation

bool CollectionIterator::AnyMoreObjects (  )  [private]

Definition at line 26 of file CollectionIterator.cpp.

References Position.

Referenced by GetNext().

Here is the caller graph for this function:

Object * CollectionIterator::GetNext (  ) 

Definition at line 16 of file CollectionIterator.cpp.

References AnyMoreObjects(), ObjectLink::GetNext(), ObjectLink::GetValue(), and Position.

Referenced by ObjectCollection::Print().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 21 of file CollectionIterator.h.

Referenced by CollectionIterator().

Definition at line 22 of file CollectionIterator.h.

Referenced by AnyMoreObjects(), CollectionIterator(), and GetNext().


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

Generated on Sat Mar 21 17:11:36 2009 for Iterator Design Pattern by  doxygen 1.5.8