ScaleWriteMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

Inherits MapBase< M::Key, M::Value >.

Inheritance diagram for ScaleWriteMap:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename M, typename C = typename M::Value>
class lemon::ScaleWriteMap< M, C >

This read-write map returns the value of the given map multiplied from the left side with a constant value. It can be used as write map also if the given multiplier is not zero. Its Key and Value is inherited from M.


Public Member Functions

 ScaleWriteMap (M &_m, const C &_v)
 Constructor.


Constructor & Destructor Documentation

ScaleWriteMap ( M &  _m,
const C &  _v 
) [inline]

Constructor

Parameters:
_m is the undelying map
_v is the scaling value


The documentation for this class was generated from the following file:
Generated on Tue Oct 31 09:51:06 2006 for LEMON by  doxygen 1.5.1