concepts::GraphItemIt

Declared in lemon/concepts/graph_components.h, in the group Graph Structure Concepts; the same class on the Doxygen site.

template< typename GR , typename Item >
class GraphItemIt : public Item

Concept class for NodeIt, ArcIt and EdgeIt types.

This class describes the concept of NodeIt, ArcIt and EdgeIt subtypes of digraph and graph types.

Public Functions

inline GraphItemIt()

Default constructor.

Warning

The default constructor is not required to set the iterator to some well-defined value. So you should consider it as uninitialized.

inline GraphItemIt( const GraphItemIt & it )

Copy constructor.

inline explicit GraphItemIt( const GR & )

Constructor that sets the iterator to the first item.

inline GraphItemIt(Invalid)

Constructor for conversion from INVALID. It initializes the iterator to be invalid.

See also

Invalid for more details.

inline GraphItemIt & operator=( const GraphItemIt & )

Assignment operator.

Assignment operator for the iterator.

inline GraphItemIt & operator++()

Increment the iterator.

This operator increments the iterator, i.e. assigns it to the next item.

inline bool operator==( const GraphItemIt & ) const

Equality operator. Two iterators are equal if and only if they point to the same object or both are invalid.

inline bool operator!=( const GraphItemIt & ) const

Inequality operator. Two iterators are equal if and only if they point to the same object or both are invalid.

template< typename _GraphItemIt >
struct Constraints

Public Functions

inline void constraints()
inline Constraints()

Public Members

const GR & g