XBinder  Version 2.9.x
Functions
rtxEnum.h File Reference

Common runtime types and functions for performing operations on enumerated data items. More...

#include "rtxsrc/rtxContext.h"

Go to the source code of this file.

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. More...
 
EXTERNRT OSINT32 rtxLookupEnumU32 (const OSUTF8CHAR *strValue, size_t strValueSize, const OSEnumItemU32 enumTable[], OSUINT16 enumTableSize)
 This function will return the numeric value for the given enumerated identifier string. More...
 
EXTERNRT OSINT32 rtxLookupBigEnum (const OSUTF8CHAR *strValue, size_t strValueSize, const OSBigEnumItem enumTable[], OSUINT16 enumTableSize)
 This function will return the numeric value for the given enumerated identifier string. More...
 
EXTERNRT OSINT32 rtxLookupEnumByValue (OSINT32 value, const OSEnumItem enumTable[], size_t enumTableSize)
 Lookup enum by integer value. More...
 
EXTERNRT OSINT32 rtxLookupEnumU32ByValue (OSUINT32 value, const OSEnumItemU32 enumTable[], size_t enumTableSize)
 Lookup enum by integer value (Unsiged 32-bit integer). More...
 
EXTERNRT OSINT32 rtxLookupBigEnumByValue (const char *value, const OSBigEnumItem enumTable[], size_t enumTableSize)
 Lookup enum by stringified version of value. More...
 
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. More...
 

Detailed Description

Common runtime types and functions for performing operations on enumerated data items.

Definition in file rtxEnum.h.