Planeshift
Public Member Functions

Edge::Iterator Class Reference

Iterator base class for Forward and Reverse Iterators. More...

#include <edge.h>

List of all members.

Public Member Functions

virtual bool HasNext ()=0
 Check if there is more elements.
 Iterator ()
 Constructor.
virtual psPathPointNext ()=0
 Return next element.
virtual ~Iterator ()
 Destructor.

Detailed Description

Iterator base class for Forward and Reverse Iterators.

Definition at line 99 of file edge.h.


Constructor & Destructor Documentation

Edge::Iterator::Iterator ( ) [inline]

Constructor.

Definition at line 103 of file edge.h.

virtual Edge::Iterator::~Iterator ( ) [inline, virtual]

Destructor.

Definition at line 106 of file edge.h.


Member Function Documentation

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.


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