|
ADTF
|
#include <type_reflection_legacy.h>
Inherits adtf::mediadescription::flash::cEnumerationType.
Public Member Functions | |
| enumeration (const std::string &strName) | |
| enumeration & | Add (const std::string &strName, Type eValue) |
Public Member Functions inherited from adtf::mediadescription::flash::cEnumerationType | |
| cEnumerationType (const std::string &strName, const std::shared_ptr< cType > &pUnderlyingType) | |
| cEnumerationType (const cEnumerationType &oOther) | |
| ~cEnumerationType () override=default | |
| 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 adtf::mediadescription::flash::cEnumerationType | |
| void | Add (tValue &&sNewValue) |
This is used to create an enumeration ytpe from an existing c++ enum.
|
inline |
| [in] | strName | The name of the enumeration. |
|
inline |
Adds a new mapped value to the enumeration.
| [in] | strName | The name of the value. |
| [in] | eValue | The value. |