Jpp
JMultipleMap.hh
Go to the documentation of this file.
1 #ifndef __JTOOLS__JMULTIPLEMAP__
2 #define __JTOOLS__JMULTIPLEMAP__
3 
4 
5 /**
6  * \author mdejong
7  */
8 
9 namespace JTOOLS {}
10 namespace JPP { using namespace JTOOLS; }
11 
12 namespace JTOOLS {
13 
14  /**
15  * List of identical maps.
16  */
17  template<unsigned int N, template<class, class, class> class JMap_t>
18  struct JMultipleMap
19  {
20  typedef JMapList<JMap_t, typename JMultipleMap<N-1, JMap_t>::typelist> typelist;
21  };
22 
23 
24  /**
25  * Terminator class of list of identical maps.
26  */
27  template<template<class, class, class> class JMap_t>
28  struct JMultipleMap<1, JMap_t>
29  {
31  };
32 }
33 
34 #endif
JTOOLS::JMultipleMap
List of identical maps.
Definition: JMultipleMap.hh:18
JTOOLS::JMapList
Map list.
Definition: JMapList.hh:24
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition: JAAnetToolkit.hh:37
JTOOLS::JMultipleMap::typelist
JMapList< JMap_t, typename JMultipleMap< N-1, JMap_t >::typelist > typelist
Definition: JMultipleMap.hh:20
JTOOLS
Auxiliary classes and methods for multi-dimensional interpolations and histograms.
Definition: JAbstractCollection.hh:9
JTOOLS::JMultipleMap< 1, JMap_t >::typelist
JMapList< JMap_t, JNullType > typelist
Definition: JMultipleMap.hh:30