Jpp  15.0.5
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 is a super_[const_[reverse_]]iterator for linear access to the multidimensional map. The access from the super_iterator to the actual elements in the multidimensional map is handeld via a the standard dereference and pointer operators yielding a multidimensional key (see JTOOLS::JMultiKey) or pair (see JTOOLS::JMultiPair), respectively.

Definition at line 51 of file JMultiMap.hh.


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