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>

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.


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 Aug 27 14:16:08 2005 for LEMON by  doxygen 1.4.4