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

GraphIterator Class Template Reference
[Graph Structure Concepts]

#include <lemon/concept/graph_component.h>

List of all members.


Detailed Description

template<typename _Graph, typename _Item>
class lemon::concept::GraphIterator< _Graph, _Item >

Skeleton class for graph NodeIt and EdgeIt.

Definition at line 487 of file graph_component.h.

Public Member Functions

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


Constructor & Destructor Documentation

GraphIterator  )  [inline]
 

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

Definition at line 495 of file graph_component.h.

GraphIterator GraphIterator< _Graph, _Item > const &   )  [inline]
 

Copy constructor.

Definition at line 500 of file graph_component.h.

GraphIterator const _Graph &   )  [inline, explicit]
 

Sets the iterator to the first item of the graph.

Definition at line 505 of file graph_component.h.

GraphIterator Invalid   )  [inline]
 

This constructor initializes the item to be invalid.

See also:
Invalid for more details.

Definition at line 510 of file graph_component.h.


Member Function Documentation

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

The items are assignable.

Definition at line 515 of file graph_component.h.

GraphIterator& operator++  )  [inline]
 

Assign the iterator to the next item.

Definition at line 520 of file graph_component.h.

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

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

Definition at line 526 of file graph_component.h.

bool operator!= const GraphIterator< _Graph, _Item > &   )  const [inline]
 

See also:
operator==(Node n)

Definition at line 531 of file graph_component.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 21 15:02:40 2005 for LEMON by  doxygen 1.4.1