System::EnumValuesBase class

EnumValuesBase class

A base class for a class that represents meta information of enumeration type.

class EnumValuesBase

Methods

MethodDescription
static GetNames(const TypeInfo&)Retrieves an array of the names of the constants in a specified enumeration.
static GetUnderlyingType(const TypeInfo&)Returns the underlying type of the specified enumeration.
static GetValues(const TypeInfo&)Returns an array containing all values of the specified enumeration type.
static Parse(const TypeInfo&, const String&, bool)Returns an object that represents a value of enumeration constant of the specified enumeration type with the specified name.
static ToObject(const TypeInfo&, uint64_t)Converts the specified 64-bit unsigned integer value to an enumeration member.
static ToObject(const TypeInfo&, const SharedPtr<Object>&)Converts the specified object with an integer value to an enumeration member.

See Also