Path::NodeIt Class Reference

#include <lemon/path.h>

List of all members.


Detailed Description

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

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

Of course it converts to Graph::Node


Public Member Functions

 NodeIt ()
 Default constructor.
 NodeIt (Invalid)
 Invalid constructor.
 NodeIt (const Path &_path, int _id=0)
 Constructor with starting point.
 operator Node () const
 Conversion to Graph::Node.
NodeItoperator++ ()
 Steps to the next node.
bool operator== (const NodeIt &n) const
 Comparison operator.
bool operator!= (const NodeIt &n) const
 Comparison operator.
bool operator< (const NodeIt &n) const
 Comparison operator.


Constructor & Destructor Documentation

NodeIt (  )  [inline]

Default constructor

NodeIt ( Invalid   )  [inline]

Invalid constructor

NodeIt ( const Path _path,
int  _id = 0 
) [inline]

Constructor with starting point


Member Function Documentation

operator Node (  )  const [inline]

Conversion to Graph::Node

NodeIt& operator++ (  )  [inline]

Steps to the next node

bool operator== ( const NodeIt n  )  const [inline]

Comparison operator

bool operator!= ( const NodeIt n  )  const [inline]

Comparison operator

bool operator< ( const NodeIt n  )  const [inline]

Comparison operator


The documentation for this class was generated from the following file:
Generated on Tue Oct 31 09:51:18 2006 for LEMON by  doxygen 1.5.1