Typedefs | |
typedef const char ** | AtEnum |
String-based enumerated data type. More... | |
Functions | |
AI_API int | AiEnumGetValue (AtEnum enum_type, const char *string) |
Return the corresponding integer value (or index) of an enum string. More... | |
AI_API const char * | AiEnumGetString (AtEnum enum_type, int index) |
Get the corresponding string value of an integer in an enum. More... | |
typedef const char** AtEnum |
AI_API int AiEnumGetValue | ( | AtEnum | enum_type, |
const char * | string | ||
) |
Return the corresponding integer value (or index) of an enum string.
enum_type | the enumerated type |
string | the text-string of the enumerated type whose corresponding value is being queried |
enum_type
is NULL or the string is not one of the allowed strings in the enum AI_API const char* AiEnumGetString | ( | AtEnum | enum_type, |
int | index | ||
) |
Get the corresponding string value of an integer in an enum.
enum_type | the enumerated type |
index | the integer value of the enumerated type whose corresponding text-string is being queried |
enum_type
is NULL or the index is not one of the allowed integers in the enum