ADTF
|
This is used to create an enumeration ytpe from an existing c++ enum. More...
Public Member Functions | |
enumeration (const std::string &strName) | |
enumeration & | Add (const std::string &strName, Type eValue) |
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 ytpe from an existing c++ enum.
Definition at line 200 of file type_reflection_legacy.h.
|
inline |
[in] | strName | The name of the enumeration. |
Definition at line 206 of file type_reflection_legacy.h.
|
inline |
Adds a new mapped value to the enumeration.
[in] | strName | The name of the value. |
[in] | eValue | The value. |
Definition at line 218 of file type_reflection_legacy.h.
References cEnumerationType::Add().