This class describes the concept of InArcIt
, OutArcIt
and IncEdgeIt
subtypes of digraph and graph types.
sel
. For InArcIt
you should instantiate it with character 'i'
, for OutArcIt
with 'o'
and for IncEdgeIt
with 'e'
. #include <lemon/concepts/graph_components.h>
Inherits Item.
Public Member Functions | |
GraphIncIt () | |
Default constructor. | |
GraphIncIt (const GraphIncIt &it) | |
GraphIncIt (const GR &, const Base &) | |
Constructor that sets the iterator to the first incoming or outgoing arc. | |
GraphIncIt (Invalid) | |
Constructor for conversion from INVALID . | |
GraphIncIt & | operator= (const GraphIncIt &) |
Assignment operator. | |
GraphIncIt & | operator++ () |
Increment the iterator. | |
bool | operator== (const GraphIncIt &) const |
Equality operator. | |
bool | operator!= (const GraphIncIt &) const |
Inequality operator. | |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inlineexplicit |
Constructor that sets the iterator to the first arc incoming to or outgoing from the given node.
|
inline |
Constructor for conversion from INVALID
. It initializes the iterator to be invalid.
|
inline |
Assignment operator for the iterator.
|
inline |
This operator increments the iterator, i.e. assigns it to the next arc incoming to or outgoing from the given node.
|
inline |
Equality operator. Two iterators are equal if and only if they point to the same object or both are invalid.
|
inline |
Inequality operator. Two iterators are equal if and only if they point to the same object or both are invalid.