Jpp  17.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JTOOLS::JMultiMap< JAbscissa_t, JOrdinate_t, JMaplist_t, JDistance_t > Class Template Reference

Multidimensional map. More...

#include <JMultiMap.hh>

Detailed Description

template<class JAbscissa_t, class JOrdinate_t, class JMaplist_t, class JDistance_t = JDistance<JAbscissa_t>>
class JTOOLS::JMultiMap< JAbscissa_t, JOrdinate_t, JMaplist_t, JDistance_t >

Multidimensional map.

The first template parameter refers to the data type of the (multidimensional) key; the second to the data type of the overall mapped value; the third to the list of maps used; and the fourth to the distance operator.

In addition to the standard STL iterators, there are super iteretors for linear access to the multidimensional map.
The access from a super iterator to the actual elements in the multidimensional map is handled via the usual dereference and pointer operators.
The multidimensional key (see JTOOLS::JMultiKey) and value can directly be obtained via member methods getKey() and getValue(), respectively.

Definition at line 52 of file JMultiMap.hh.


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