1 #ifndef __JLANG__JENUMERATION__
2 #define __JLANG__JENUMERATION__
17 namespace JPP {
using namespace JLANG; }
24 template<
class T,
int ID>
34 template<
class JHead_t,
class JTail_t,
int ID>
80 static std::ostream&
print(std::ostream& out)
82 out << getLabel(JType<T>()) << std::endl;
95 template<
class JHead_t,
class JTail_t>
99 public virtual JAssert<!JHasType<JTail_t, JHead_t> ::value &&
100 !JHasID <JTail_t, JTypeID<JHead_t>::ID>::value>
112 static std::ostream&
print(std::ostream& out)
125 template<
class JHead_t>
static JLabel_t getLabel(const T &object)
Get label of given object.
Template definition of policy class to label data types in a type list.
Enumeration of single data type.
Auxiliary class for a type holder.
Generation of compiler error.
static JLabel_t getLabel(const JType< T > &type)
Get label of given data type.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Auxiliary class for no type definition.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DETECTOR $JPP_DATA km3net_reference detx set_variable NUMBER_OF_STRINGS set_variable ID if do_usage *then usage $script[detector file[variant[identifier]]] fi case set_variable ID
Auxiliary data structure to label data types within a type list.
static std::ostream & print(std::ostream &out)
Print enumeration.
Test presence of data type identifier in labelled type list.
static std::ostream & print(std::ostream &out)
Print enumeration.