ADTF
|
This is used to create an enumeration type independently. More...
Public Member Functions | |
enumeration (const std::string &strName) | |
enumeration & | Add (const std::string &strName, int64_t nValue) |
Adds a new mapped value to the enumeration. More... | |
Public Member Functions inherited from cEnumerationType | |
cEnumerationType (const std::string &strName, const std::shared_ptr< cType > &pUnderlyingType) | |
Initializes the enumeration with a name and underlying type. More... | |
cEnumerationType (const cEnumerationType &oOther) | |
std::string | GetName () const override |
size_t | GetSize () const override |
size_t | GetAlignment () const override |
const std::shared_ptr< cType > & | GetUnderlyingType () const |
const std::vector< tValue > & | GetValues () const |
Additional Inherited Members | |
Protected Member Functions inherited from cEnumerationType | |
void | Add (tValue &&sNewValue) |
Adds a new mapped value to the enumeration. | |
This is used to create an enumeration type independently.
Definition at line 236 of file type_reflection_legacy.h.
|
inline |
[in] | strName | The name of the enumeration. |
Definition at line 243 of file type_reflection_legacy.h.
|
inline |
Adds a new mapped value to the enumeration.
[in] | strName | The name of the value. |
[in] | nValue | The value. |
Definition at line 255 of file type_reflection_legacy.h.
References cEnumerationType::Add().