#include <CollectionIterator.h>
Public Member Functions | |
CollectionIterator (ObjectCollection *pOn) | |
~CollectionIterator () | |
Object * | GetNext () |
Private Member Functions | |
bool | AnyMoreObjects () |
Private Attributes | |
ObjectCollection * | Collection |
ObjectLink * | Position |
Definition at line 8 of file CollectionIterator.h.
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.
bool CollectionIterator::AnyMoreObjects | ( | ) | [private] |
Definition at line 26 of file CollectionIterator.cpp.
References Position.
Referenced by GetNext().
Object * CollectionIterator::GetNext | ( | ) |
Definition at line 16 of file CollectionIterator.cpp.
References AnyMoreObjects(), ObjectLink::GetNext(), ObjectLink::GetValue(), and Position.
Referenced by ObjectCollection::Print().
ObjectCollection* CollectionIterator::Collection [private] |
ObjectLink* CollectionIterator::Position [private] |
Definition at line 22 of file CollectionIterator.h.
Referenced by AnyMoreObjects(), CollectionIterator(), and GetNext().