Planeshift
|
Iterator base class for Forward and Reverse Iterators. More...
#include <edge.h>
Public Member Functions | |
virtual bool | HasNext ()=0 |
Check if there is more elements. | |
Iterator () | |
Constructor. | |
virtual psPathPoint * | Next ()=0 |
Return next element. | |
virtual | ~Iterator () |
Destructor. |
virtual Edge::Iterator::~Iterator | ( | ) | [inline, virtual] |
virtual bool Edge::Iterator::HasNext | ( | ) | [pure virtual] |
Check if there is more elements.
Implemented in Edge::ForwardIterator, and Edge::ReverseIterator.
virtual psPathPoint* Edge::Iterator::Next | ( | ) | [pure virtual] |
Return next element.
Return the next element. Call HasNext before calling this to see if there are more elements.
Implemented in Edge::ForwardIterator, and Edge::ReverseIterator.