#include <Iterator.h>
Public Methods | |
virtual void | First () = 0 throw () |
Move to first element. | |
virtual void | Next () = 0 throw () |
Move to next element. No-op if called when IsDone () == true. | |
virtual bool | IsDone () const = 0 throw () |
True if we are past the last element. | |
virtual ELEMENT* | Get () const = 0 throw () |
Get the current element. More... | |
Iterator& | operator++ () throw () |
ELEMENT* | operator-> () const throw () |
virtual | ~Iterator () throw () |
|
Get the current element. It is the responsibility of the caller to ensure that IsDone () == false when this method is called. Implementations should use ppAssert () to check for this |