#include <type_reflection_legacy.h>
Inherits adtf::mediadescription::flash::cEnumerationType.
template<typename Type, typename Enable = void>
class adtf::mediadescription::flash::enumeration< Type, Enable >
This is used to create an enumeration ytpe from an existing c++ enum.
Example Usage
enum tMyEnum
{
eA = 0,
eB = 1
};
.Add("eA", eA)
.Add("eB", eB);
◆ enumeration()
template<typename Type, typename Enable = void>
- Parameters
-
| [in] | strName | The name of the enumeration. |
◆ Add()
template<typename Type, typename Enable = void>
Adds a new mapped value to the enumeration.
- Parameters
-
| [in] | strName | The name of the value. |
| [in] | eValue | The value. |
- Returns
- A reference to the enumeration.
The documentation for this class was generated from the following file: