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

MapConstIterator Class Template Reference
[Graphmaps]

#include <lemon/map_iterator.h>

Inheritance diagram for MapConstIterator:

Inheritance graph
[legend]
Collaboration diagram for MapConstIterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename Map>
class lemon::MapConstIterator< Map >

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

Definition at line 192 of file map_iterator.h.

Public Types

typedef MapIteratorBase< Map > Base
 The iterator base class.
typedef Map::Key Key
 The key type of the iterator.
typedef Map::KeyIt KeyIt
 The iterator to iterate on the keys.
typedef Map::Value Value
 The value type of the iterator.
typedef Map::Reference Reference
 The reference type of the iterator.
typedef Map::Pointer Pointer
 The pointer type of the iterator.
typedef Map::ConstValue ConstValue
 The const value type of the iterator.
typedef Map::ConstReference ConstReference
 The const reference type of the iterator.
typedef Map::ConstPointer ConstPointer
 The pointer type of the iterator.
typedef extended_pair< Key,
const Key &, Value, const
Value & > 
PairValue
 The value type of the iterator.
typedef extended_pair< const
Key &, const Key &, ConstReference,
ConstReference
PairReference
 The reference type of map.

Public Member Functions

 MapConstIterator ()
 Default constructor.
 MapConstIterator (const Map &pmap, const KeyIt &pit)
 MapConstIterator (const MapIterator< Map > &pit)
 Constructor to create const iterator from a non const.
PairReference operator * ()
 Dereference operator for the iterator.
PairPointer operator-> ()
 Arrow operator for the iterator.
MapConstIteratoroperator++ ()
 The pre increment operator of the iterator.
MapConstIterator operator++ (int)
 The post increment operator of the iterator.

Classes

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


Constructor & Destructor Documentation

MapConstIterator const Map &  pmap,
const KeyIt pit
[inline]
 

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

Definition at line 225 of file map_iterator.h.


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