GraphIncIt< _Graph, _Item, _Base, _selector > Class Template Reference


Detailed Description

template<typename _Graph, typename _Item = typename _Graph::Edge, typename _Base = typename _Graph::Node, char _selector = '0'>
class lemon::concepts::GraphIncIt< _Graph, _Item, _Base, _selector >

Note:
Because InEdgeIt and OutEdgeIt may not inherit from the same base class, the _selector is a additional template parameter. For InEdgeIt you should instantiate it with character 'i' and for OutEdgeIt with 'o'.
#include <lemon/concepts/graph_components.h>

List of all members.

Public Member Functions

 GraphIncIt ()
 Default constructor.
 GraphIncIt (GraphIncIt const &gi)
 GraphIncIt (const _Graph &, const _Base &)
 GraphIncIt (Invalid)
 Invalid constructor & conversion.
GraphIncItoperator= (GraphIncIt const &)
 Assign operator for iterators.
GraphIncItoperator++ ()
 Next item.
bool operator== (const GraphIncIt &) const
 Equality operator.
bool operator!= (const GraphIncIt &) const
 Inequality operator.


Constructor & Destructor Documentation

GraphIncIt (  )  [inline]

Warning:
The default constructor sets the iterator to an undefined value.

GraphIncIt ( GraphIncIt< _Graph, _Item, _Base, _selector > const &  gi  )  [inline]

Copy constructor.

GraphIncIt ( const _Graph &  ,
const _Base &   
) [inline, explicit]

Sets the iterator to the first edge incoming into or outgoing from the node.

GraphIncIt ( Invalid   )  [inline]

This constructor initializes the item to be invalid.

See also:
Invalid for more details.


Member Function Documentation

GraphIncIt& operator= ( GraphIncIt< _Graph, _Item, _Base, _selector > const &   )  [inline]

The iterators are assignable.

GraphIncIt& operator++ (  )  [inline]

Assign the iterator to the next item.

bool operator== ( const GraphIncIt< _Graph, _Item, _Base, _selector > &   )  const [inline]

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

bool operator!= ( const GraphIncIt< _Graph, _Item, _Base, _selector > &   )  const [inline]

See also:
operator==(Node n)


Generated on Thu Jun 4 04:06:50 2009 for LEMON by  doxygen 1.5.9