Enums.getValueByName

Looks up a GEnumValue by name.

class Enums
static
getValueByName

Parameters

enumClass GEnumClass*

a GEnumClass

name string

the name to look up

Return Value

Type: Enums

the GEnumValue with name name, or NULL if the enumeration doesn't have a member with that name

Meta