Jpp  18.2.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
JTuple.hh File Reference

Data structure based on type list. More...

#include <istream>
#include <ostream>
#include "JLang/JTypeList.hh"
#include "JLang/JNullType.hh"
#include "JLang/JClass.hh"
#include "JLang/JComparable.hh"
#include "JLang/JType.hh"
#include "JLang/JNumber.hh"
#include "JMath/JMath.hh"
#include "JIO/JSerialisable.hh"

Go to the source code of this file.

Classes

struct  JTOOLS::JTuple< T >
 Template data structure. More...
 
struct  JTOOLS::JTuple< JTypeList< JHead_t, JTail_t > >
 Template specialisation of JTuple for multiple data types. More...
 
struct  JTOOLS::JTuple< JTypeList< JHead_t, JTypeList< JTail_t, JNullType > > >
 Template specialisation of JTuple for two data types. More...
 
struct  JTOOLS::JTuple< JTypeList< JHead_t, JNullType > >
 Terminator class of recursive JTuple class. More...
 

Namespaces

 JTOOLS
 Auxiliary classes and methods for multi-dimensional interpolations and histograms.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class JObject_t , class JHead_t , class JTail_t , class T >
JObject_t & JTOOLS::for_each (JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist, const JTuple< T > &tuple)
 For each data type method. More...
 
template<class JObject_t , class JTypelist_t , class T >
JObject_t & JTOOLS::for_each (JObject_t &object, JType< JTypelist_t > type, const JTuple< T > &tuple)
 For each data type method. More...
 
template<class... Args>
JTuple< typename JTYPELIST
< Args...>::typelist > 
JTOOLS::make_tuple (const Args &...args)
 Helper method for tuple. More...
 
template<class JObject_t , class T >
JObject_t & JTOOLS::for_each (JObject_t &object, JType< JNullType > type, const JTuple< T > &tuple)
 Termination method of for each data type method. More...
 

Detailed Description

Data structure based on type list.

Author
mdejong

Definition in file JTuple.hh.