Auxiliary data structure to label data types within a type list.
More...
#include <JTypeID.hh>
Auxiliary data structure to label data types within a type list.
Definition at line 22 of file JTypeID.hh.
◆ JLabel_t()
JLANG::JLabel_t::JLabel_t |
( |
const int |
ID, |
|
|
const char * |
name, |
|
|
const int |
version |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
ID | identifier |
name | name |
version | version |
Definition at line 30 of file JTypeID.hh.
◆ getID()
int JLANG::JLabel_t::getID |
( |
| ) |
const |
|
inline |
Get data type identifier.
- Returns
- identifier
Definition at line 44 of file JTypeID.hh.
◆ getName()
const char* JLANG::JLabel_t::getName |
( |
| ) |
const |
|
inline |
Get name of data type.
- Returns
- name
Definition at line 55 of file JTypeID.hh.
◆ getVersion()
int JLANG::JLabel_t::getVersion |
( |
| ) |
const |
|
inline |
Get version of data type.
- Returns
- version
Definition at line 66 of file JTypeID.hh.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JLabel_t & |
object |
|
) |
| |
|
friend |
Write label to output.
- Parameters
-
out | output stream |
object | label |
- Returns
- output stream
Definition at line 79 of file JTypeID.hh.
81 return out <<
object.getID() <<
'/'
82 <<
object.getName() <<
':'
83 <<
object.getVersion();
◆ __ID
int JLANG::JLabel_t::__ID |
|
protected |
◆ __name
const char* JLANG::JLabel_t::__name |
|
protected |
◆ __version
int JLANG::JLabel_t::__version |
|
protected |
The documentation for this struct was generated from the following file: