Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GraphIncIterator Class Template Reference
[Graph Structure Concepts]

#include <lemon/concept/graph_component.h>

List of all members.


Detailed Description

template<typename Graph, typename Edge = typename Graph::Edge, char _selector = '0'>
class lemon::concept::GraphIncIterator< Graph, Edge, _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'.
Todo:
Is this a good name for this concept?

Definition at line 564 of file graph_component.h.

Public Member Functions

 GraphIncIterator ()
 Default constructor.
 GraphIncIterator (GraphIncIterator const &)
 Copy constructor.
 GraphIncIterator (const Graph &, const typename Graph::Node &)
 GraphIncIterator (Invalid)
 Invalid constructor & conversion.
GraphIncIteratoroperator= (GraphIncIterator const &)
 Assign operator for nodes.
GraphIncIteratoroperator++ ()
 Next edge.
bool operator== (const GraphIncIterator &) const
 Equality operator.
bool operator!= (const GraphIncIterator &) const
 Inequality operator.


Constructor & Destructor Documentation

GraphIncIterator  )  [inline]
 

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

Definition at line 570 of file graph_component.h.

GraphIncIterator GraphIncIterator< Graph, Edge, _selector > const &   )  [inline]
 

Copy constructor.

Definition at line 575 of file graph_component.h.

GraphIncIterator const Graph &  ,
const typename Graph::Node & 
[inline, explicit]
 

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

Definition at line 582 of file graph_component.h.

GraphIncIterator Invalid   )  [inline]
 

This constructor initializes the item to be invalid.

See also:
Invalid for more details.

Definition at line 587 of file graph_component.h.


Member Function Documentation

GraphIncIterator& operator= GraphIncIterator< Graph, Edge, _selector > const &   )  [inline]
 

The nodes are assignable.

Definition at line 592 of file graph_component.h.

GraphIncIterator& operator++  )  [inline]
 

Assign the iterator to the next node.

Definition at line 597 of file graph_component.h.

bool operator== const GraphIncIterator< Graph, Edge, _selector > &   )  const [inline]
 

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

Definition at line 605 of file graph_component.h.

bool operator!= const GraphIncIterator< Graph, Edge, _selector > &   )  const [inline]
 

See also:
operator==(Node n)

Definition at line 611 of file graph_component.h.


The documentation for this class was generated from the following file:
Generated on Sat Mar 19 10:58:58 2005 for LEMON by  doxygen 1.4.1