1 #ifndef __JLANG__JTYPEID__
2 #define __JLANG__JTYPEID__
15 namespace JPP {
using namespace JLANG; }
81 return out <<
object.getID() <<
'/'
82 <<
object.getName() <<
':'
83 <<
object.getVersion();
146 static const int ID = __ID;
156 return (*__getName)();
167 return (*__getVersion)();
211 public JLabel<T::ID, &T::getName>
220 public JLabel<T::ID, &JLANG::getDefaultName, &T::getVersion>
229 public JLabel<T::ID, &T::getName, &T::getVersion>
Test availability of static member methods for labelling data types in a type list.
static const bool has_version
static JTrue test2(JTypecheck< int(*)(), &U::getVersion > *)
static JTrue test1(JTypecheck< const char *(*)(), &U::getName > *)
static const bool has_name
int getVersion(const std::string &version)
Get numerical value of AHRS calibration version.
Auxiliary classes and methods for language specific functionality.
const char * getDefaultName()
Get default name of data type.
int getDefaultVersion()
Get default version of data type.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const char * getName()
Get ROOT name of given data type.
Auxiliary data structure to label data types within a type list.
JLabel_t(const int ID, const char *name, const int version)
Constructor.
int getVersion() const
Get version of data type.
int getID() const
Get data type identifier.
const char * getName() const
Get name of data type.
friend std::ostream & operator<<(std::ostream &out, const JLabel_t &object)
Write label to output.
Auxiliary class for no type definition.
Auxiliary class for type checking.
Auxiliary base class for compile time evaluation of test.
Auxiliary data structure to label data types within a type list.
static int getVersion()
Get version of data type.
static const char * getName()
Get name of data type.
Template definition of policy class to label data types in a type list.