RecAPI
SEnumTypeElement Struct Reference

Descriptor structure of an enum type element. More...

List of all members.

Public Attributes

const char * id
 Identifier of the given element of the enum type.
int value
 Value of the given element of the enum type.

Detailed Description

Descriptor structure of an enum type element.

The elements of an enum type can be accessible in both int and string format. The string format provides better readability. For example, this string appears in the setting files and it can be useful for UI applications as well.