Public Member Functions | Private Member Functions

SimplePath< GR >::ArcIt Class Reference


Detailed Description

template<typename GR>
class lemon::SimplePath< GR >::ArcIt

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

Of course it converts to Digraph::Arc

#include <lemon/path.h>

List of all members.

Public Member Functions

 ArcIt ()
 Default constructor.
 ArcIt (Invalid)
 Invalid constructor.
 ArcIt (const SimplePath &_path)
 Initializate the constructor to the first arc of path.
 operator const Arc & () const
 Conversion to Digraph::Arc.
ArcItoperator++ ()
 Next arc.
bool operator== (const ArcIt &e) const
 Comparison operator.
bool operator!= (const ArcIt &e) const
 Comparison operator.
bool operator< (const ArcIt &e) const
 Comparison operator.

Private Member Functions

 ArcIt (const SimplePath &_path, int _idx)
 Constructor with starting point.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines