LEMON 1.0.7
Public Member Functions

GraphItemIt< _Graph, _Item > Class Template Reference


Detailed Description

template<typename _Graph, typename _Item>
class lemon::concepts::GraphItemIt< _Graph, _Item >

Skeleton class for graph NodeIt and ArcIt.

#include <lemon/concepts/graph_components.h>

List of all members.

Public Member Functions

 GraphItemIt ()
 Default constructor.
 GraphItemIt (const GraphItemIt &)
 GraphItemIt (const _Graph &)
 Sets the iterator to the first item.
 GraphItemIt (Invalid)
 Invalid constructor & conversion.
GraphItemItoperator= (const GraphItemIt &)
 Assign operator for items.
GraphItemItoperator++ ()
 Next item.
bool operator== (const GraphItemIt &) const
 Equality operator.
bool operator!= (const GraphItemIt &) const
 Inequality operator.

Constructor & Destructor Documentation

GraphItemIt ( ) [inline]
Warning:
The default constructor sets the iterator to an undefined value.
GraphItemIt ( const GraphItemIt< _Graph, _Item > &  ) [inline]

Copy constructor.

GraphItemIt ( const _Graph &  ) [inline, explicit]

Sets the iterator to the first item of the graph.

GraphItemIt ( Invalid  ) [inline]

This constructor initializes the item to be invalid.

See also:
Invalid for more details.

Member Function Documentation

GraphItemIt& operator= ( const GraphItemIt< _Graph, _Item > &  ) [inline]

The items are assignable.

GraphItemIt& operator++ ( ) [inline]

Assign the iterator to the next item.

bool operator== ( const GraphItemIt< _Graph, _Item > &  ) const [inline]

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

bool operator!= ( const GraphItemIt< _Graph, _Item > &  ) const [inline]
See also:
operator==(Node n)

The documentation for this class was generated from the following file: