Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

UndirPath::NodeIt Class Reference

#include <lemon/path.h>

Collaboration diagram for UndirPath::NodeIt:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename Graph>
class lemon::UndirPath< Graph >::NodeIt

This class is used to iterate on the nodes of the paths

Of course it converts to Graph::Node

Todo:
Its interface differs from the standard node iterator. Yes, it shouldn't.

Definition at line 550 of file path.h.

Public Member Functions

 NodeIt ()
 Default constructor.
 NodeIt (Invalid)
 Invalid constructor.
 NodeIt (const UndirPath &_p, int _idx=0)
 Constructor with starting point.
bool valid () const
 Validity check.
 operator const GraphNode & () const
 Conversion to Graph::Node.
NodeItoperator++ ()
 Next node.
bool operator== (const NodeIt &e) const
 Comparison operator.
bool operator!= (const NodeIt &e) const
 Comparison operator.
bool operator< (const NodeIt &e) const
 Comparison operator.


The documentation for this class was generated from the following file:
Generated on Sat Mar 19 10:58:54 2005 for LEMON by  doxygen 1.4.1