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

MapIterator Class Template Reference
[Tools to Make It Easier to Make Graph Maps]

#include <lemon/bits/map_iterator.h>

Inherits MapIteratorBase< _Graph, _Item >.

Inheritance diagram for MapIterator:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename _Graph, typename _Item, typename _Map>
class lemon::MapIterator< _Graph, _Item, _Map >

Compatible iterator with the stl maps' iterators. It iterates on pairs of a key and a value.


Public Types

typedef MapIteratorBase< _Graph,
_Item > 
Parent
 The iterator base class.
typedef extended_pair< Item,
const Item &, MapValue, const
MapValue & > 
Value
 The value type of the iterator.
typedef extended_pair< const
Item &, const Item &, MapReference,
MapReference > 
Reference
 The reference type of the iterator.

Public Member Functions

 MapIterator ()
 Default constructor.
 MapIterator (Map &_map, const ItemIt &_it)
Reference operator * ()
 Dereference operator for the iterator.
Pointer operator-> ()
 Arrow operator for the iterator.
MapIteratoroperator++ ()
 The pre increment operator of the iterator.
MapIterator operator++ (int)
 The post increment operator of the iterator.

Classes

class  Pointer
 The pointer type of the iterator. More...


Constructor & Destructor Documentation

MapIterator Map &  _map,
const ItemIt &  _it
[inline]
 

Constructor to initalize the iterators returned by the begin() and end().


The documentation for this class was generated from the following file:
Generated on Sat Aug 27 14:16:21 2005 for LEMON by  doxygen 1.4.4