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>
static int getVersion()
Get version of data type.
static JTrue test1(JTypecheck< const char *(*)(),&U::getName > *)
Test availability of static member methods for labelling data types in a type list.
int getVersion(const std::string &version)
Get numerical value of AHRS calibration version.
Template definition of policy class to label data types in a type list.
static const bool has_version
static JTrue test2(JTypecheck< int(*)(),&U::getVersion > *)
Auxiliary data structure to label data types within a type list.
JLabel_t(const int ID, const char *name, const int version)
Constructor.
Auxiliary base class for compile time evaluation of test.
friend std::ostream & operator<<(std::ostream &out, const JLabel_t &object)
Write label to output.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Auxiliary class for no type definition.
static const char * getName()
Get name of data type.
const char * getDefaultName()
Get default name of data type.
Auxiliary data structure to label data types within a type list.
int getDefaultVersion()
Get default version of data type.
int getVersion() const
Get version of data type.
const char * getName()
Get ROOT name of given data type.
const char * getName() const
Get name of data type.
int getID() const
Get data type identifier.
Auxiliary class for type checking.
static const bool has_name