Jpp  pmt_effective_area_update_2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JTypeID< T, bool, bool > Struct Template Reference

Template definition of policy class to label data types in a type list. More...

#include <JTypeID.hh>

Detailed Description

template<class T, bool = JLANG::JTypeID_t<T>::has_name, bool = JLANG::JTypeID_t<T>::has_version>
struct JTypeID< T, bool, bool >

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.


The documentation for this struct was generated from the following file: