Description of the elements Type.
More...
Description of the elements Type.
Definition at line 60 of file codec_type_info.h.
◆ getEnumElementName()
Returns the enum elements name for the given value if exists.
- Parameters
-
[in] | value | The value retrieve the for the value of type T. |
- Returns
- const char* Returns the enum elements name
- Exceptions
-
throws | std::runtime_error if not found. |
◆ getEnumElementNames()
std::vector<std::string> getEnumElementNames |
( |
| ) |
const |
Get the Enum Element Names.
- Returns
- std::vector<std::string>
◆ getEnumElementValue()
Returns the current enum elements value of the given enum element name converted to type T if supported.
- Parameters
-
[in] | name | The name of the enum element value to retrieve. |
- Template Parameters
-
T | the type to retrieve the value in |
- Returns
- The value in converted to type T
- Exceptions
-
throws | std::runtime_error if not found. |
◆ getLegacyAccessEnumType()
Legacy Only: Get the Legacy Access Enum Type object.
- Returns
- const AccessEnumType*
◆ getType()
Get the Type.
- Returns
- ElementType
◆ getTypeName()
const char* getTypeName |
( |
| ) |
const |
Get the typename.
- Returns
- const char*
◆ hasEnumElementName()
bool hasEnumElementName |
( |
const std::string & |
name | ) |
const |
Determines if the enum element name exists.
- Parameters
-
name | The name of the enum element |
- Returns
- true the name exists
-
false the name does not exist
◆ isEnum()
Determines the value is an enum or not.
- Returns
- true is an enum type
-
false in not an enum type