Auxiliary data structure to label data types within a type list.
More...
#include <JTypeID.hh>
|
static const int | ID = __ID |
| Data type identifier. More...
|
|
template<int __ID, const char *(*)() __getName = JLANG::getDefaultName, int(*)() __getVersion = JLANG::getDefaultVersion>
struct JLabel< __ID, __getName, __getVersion >
Auxiliary data structure to label data types within a type list.
Definition at line 141 of file JTypeID.hh.
◆ getName()
template<int __ID, const char *(*)() __getName = JLANG::getDefaultName, int(*)() __getVersion = JLANG::getDefaultVersion>
static const char* JLabel< __ID, __getName, __getVersion >::getName |
( |
| ) |
|
|
inlinestatic |
Get name of data type.
- Returns
- name
Definition at line 154 of file JTypeID.hh.
156 return (*__getName)();
◆ getVersion()
template<int __ID, const char *(*)() __getName = JLANG::getDefaultName, int(*)() __getVersion = JLANG::getDefaultVersion>
static int JLabel< __ID, __getName, __getVersion >::getVersion |
( |
| ) |
|
|
inlinestatic |
Get version of data type.
- Returns
- version
Definition at line 165 of file JTypeID.hh.
167 return (*__getVersion)();
◆ ID
template<int __ID, const char *(*)() __getName = JLANG::getDefaultName, int(*)() __getVersion = JLANG::getDefaultVersion>
const int JLabel< __ID, __getName, __getVersion >::ID = __ID |
|
static |
The documentation for this struct was generated from the following file: