Go to the documentation of this file.    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>
 
 
int getVersion() const
Get version of data type.
 
Template definition of policy class to label data types in a type list.
 
Auxiliary class for no type definition.
 
const char * getName() const
Get name of data type.
 
static JTrue test2(JTypecheck< int(*)(), &U::getVersion > *)
 
int getID() const
Get data type identifier.
 
static JTrue test1(JTypecheck< const char *(*)(), &U::getName > *)
 
Auxiliary base class for compile time evaluation of test.
 
static const bool has_name
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
friend std::ostream & operator<<(std::ostream &out, const JLabel_t &object)
Write label to output.
 
JLabel_t(const int ID, const char *name, const int version)
Constructor.
 
Auxiliary data structure to label data types within a type list.
 
static const char * getName()
Get name of data type.
 
Test availability of static member methods for labelling data types in a type list.
 
const char * getName()
Get ROOT name of given data type.
 
static int getVersion()
Get version of data type.
 
Auxiliary class for type checking.
 
Auxiliary data structure to label data types within a type list.
 
static const bool has_version
 
const char * getDefaultName()
Get default name of data type.
 
Auxiliary classes and methods for language specific functionality.
 
int getDefaultVersion()
Get default version of data type.