AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::func::util::Mapvalmap< T1, T2 > Class Template Reference

#include <valmap.h>

Collaboration diagram for aff::func::util::Mapvalmap< T1, T2 >:

Public Types

typedef T1 Tinvalue
 
typedef T2 Toutvalue
 
typedef std::map< Tinvalue, ToutvalueTmap
 

Public Member Functions

 Mapvalmap (const Tmap &m)
 initialize member data More...
 
Toutvalue operator() (Tinvalue v) const
 map another value More...
 

Private Attributes

Tmap Mmap
 

Detailed Description

template<class T1, class T2>
class aff::func::util::Mapvalmap< T1, T2 >

Utility class to map values using a std::map

This class should be used together with the aff::func::util::mapvalues() function template.

Parameters
T1source value type
T2target value type

Definition at line 59 of file valmap.h.


The documentation for this class was generated from the following file: