Enumeration utility functions
Enumeration utility function provide run-time functions for handling enumerations defined within a schema. More...Classes | |
| struct | OSEnumItem |
| struct | OSNumericEnumItem |
| struct | OSNumericEnumItemU32 |
| struct | OSNumericEnumItem64 |
| struct | OSNumericEnumItemU64 |
Functions | |
| EXTERNRT OSINT32 | rtxLookupEnum (const OSUTF8CHAR *strValue, size_t strValueSize, const OSEnumItem enumTable[], OSUINT16 enumTableSize) |
| This function will return the numeric value for the given enumerated identifier string. | |
| EXTERNRT OSINT32 | rtxLookupEnumByValue (OSINT32 value, const OSEnumItem enumTable[], size_t enumTableSize) |
| Lookup enum by integer value. | |
| EXTERNRT int | rtxTestNumericEnum (OSINT32 ivalue, const OSNumericEnumItem enumTable[], OSUINT16 enumTableSize) |
| This function determines if the given numeric enumerated value is within the defined numeration set. | |
Detailed Description
Enumeration utility function provide run-time functions for handling enumerations defined within a schema.
Function Documentation
|
||||||||||||||||||||
|
This function will return the numeric value for the given enumerated identifier string.
|
|
||||||||||||||||
|
Lookup enum by integer value. Required for ASN.1 because enumerated values do not need to be sequential.
|
|
||||||||||||||||
|
This function determines if the given numeric enumerated value is within the defined numeration set.
|
