#include <type_reflection_legacy.h>
Inherits adtf::mediadescription::flash::cType.
Inherited by adtf::mediadescription::flash::enumeration< UnderlyingType, typename std::enable_if< std::is_arithmetic< UnderlyingType >::value >::type >, adtf::mediadescription::flash::enumeration< Type, Enable >, and adtf::mediadescription::flash::enumeration< UnderlyingType, typename std::enable_if< std::is_arithmetic< UnderlyingType >::value >::type >.
Type implementation for enumerations.
Do not use this class directly, but use enumeration instead.
◆ cEnumerationType() [1/2]
| adtf::mediadescription::flash::cEnumerationType::cEnumerationType |
( |
const std::string & | strName, |
|
|
const std::shared_ptr< cType > & | pUnderlyingType ) |
Initializes the enumeration with a name and underlying type.
- Parameters
-
| [in] | strName | The name of the enumeration |
| [in] | pUnderlyingType | The underlying type. |
◆ cEnumerationType() [2/2]
| adtf::mediadescription::flash::cEnumerationType::cEnumerationType |
( |
const cEnumerationType & | oOther | ) |
|
Copy constructor.
- Parameters
-
| [in] | oOther | The other enumeration type to copy. |
◆ ~cEnumerationType()
| adtf::mediadescription::flash::cEnumerationType::~cEnumerationType |
( |
| ) |
|
|
overridedefault |
◆ Add()
| void adtf::mediadescription::flash::cEnumerationType::Add |
( |
tValue && | sNewValue | ) |
|
|
protected |
Adds a new mapped value to the enumeration.
◆ GetAlignment()
| size_t adtf::mediadescription::flash::cEnumerationType::GetAlignment |
( |
| ) |
const |
|
overridevirtual |
◆ GetName()
| std::string adtf::mediadescription::flash::cEnumerationType::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetSize()
| size_t adtf::mediadescription::flash::cEnumerationType::GetSize |
( |
| ) |
const |
|
overridevirtual |
◆ GetUnderlyingType()
| const std::shared_ptr< cType > & adtf::mediadescription::flash::cEnumerationType::GetUnderlyingType |
( |
| ) |
const |
- Returns
- The underlying type.
◆ GetValues()
| const std::vector< tValue > & adtf::mediadescription::flash::cEnumerationType::GetValues |
( |
| ) |
const |
- Returns
- The mapped values of the enumeration.
The documentation for this class was generated from the following file: