Jpp
17.3.0
the software that should make you happy
|
Template definition of policy class to label data types in a type list. More...
#include <JTypeID.hh>
Template definition of policy class to label data types in a type list.
A default implementation of this class is provided for data types which already have a unique identifier. This identifier should be implemented as follows:
static const int ID = <value>;
The optional name and/or a version is then maintained, provided their implementations follow the corresponding declarations in JLANG::JTypeID_t, i.e:
static const char* getName(); static int getVersion();
A specialisation of this class should otherwise be provided, e.g. by deriving it from class JLabel. The specialisation should provide the static data member ID
and the static member methods listed above.
Definition at line 194 of file JTypeID.hh.