#include <lemon/maps.h>
Inherits MapBase< M::Key, M::Value >.
Inheritance diagram for ShiftMap:
Key
and Value
is inherited from M
.Actually,
ShiftMap<X> sh(x,v);
ConstMap<X::Key, X::Value> c_tmp(v); AddMap<X, ConstMap<X::Key, X::Value> > sh(x,v);
Public Member Functions | |
ShiftMap (const M &_m, const C &_v) | |
Constructor. | |
Related Functions | |
(Note that these are not member functions.) | |
ShiftMap< M, C > | shiftMap (const M &m, const C &v) |
Returns an ShiftMap class. |
ShiftMap | ( | const M & | _m, | |
const C & | _v | |||
) | [inline] |
Constructor
_m | is the undelying map | |
_v | is the shift value |