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.
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

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

Definition in file rtxEnum.h.