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