OpFlex Framework
1.7.0
|
Const info defines a specific enum member. More...
#include <opflex/modb/ConstInfo.h>
Public Member Functions | |
ConstInfo (const std::string &name_, uint64_t id_) | |
Construct a const info object with the given name and ID. | |
~ConstInfo () | |
Destructor. | |
const std::string & | getName () const |
Get the name for this const. More... | |
const uint64_t | getId () const |
Get the unique ID for this const within the enclosing enum. More... | |
Const info defines a specific enum member.
This metadata is generated by the code generation framework and is required when the framework is initialized.
|
inline |
Get the unique ID for this const within the enclosing enum.
|
inline |
Get the name for this const.
This value is used to represent this const in JSON documents.