ConstMap Class Template Reference

#include <maps.h>

Inheritance diagram for ConstMap:

Inheritance graph
[legend]
Collaboration diagram for ConstMap:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename K, typename T>
class lemon::ConstMap< K, T >

This is a readable map which assigns a specified value to each key. In other aspects it is equivalent to the NullMap.
Todo:
set could be used to set the value.

Definition at line 67 of file maps.h.

Public Member Functions

 ConstMap ()
 Default constructor.
 ConstMap (const T &_v)
 


Constructor & Destructor Documentation

ConstMap  )  [inline]
 

The value of the map will be uninitialized. (More exactly it will be default constructed.) Definition at line 76 of file maps.h.

ConstMap const T &  _v  )  [inline]
 

Parameters:
_v The initial value of the map.
Definition at line 81 of file maps.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 30 12:18:38 2004 for LEMON by doxygen 1.3.8