System::EnumValues class
Contents
[
Hide
]EnumValues class
Provides meta information about enumeration constants of enum type E.
template<typename E,class Guard>class EnumValues : public System::EnumValuesBase
Parameter | Description |
---|---|
E | The type of enumeration |
Methods
Method | Description |
---|---|
EnumValues() | Constructs an instance. |
GetNames() const override | Returns an array containing all names of enumeration E. |
static GetNames(const TypeInfo&) | Retrieves an array of the names of the constants in a specified enumeration. |
GetUnderlyingType() const override | Returns the underlying type of the specified enumeration. |
static GetUnderlyingType(const TypeInfo&) | Returns the underlying type of the specified enumeration. |
GetValueOf(const String&, bool) const override | Returns boxed value of the enum constant with the specified name. |
GetValueOf(long) const override | Returns boxed value of the enum constant with the specified value. |
GetValues() const override | Returns an array containing all values of enumeration E. |
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. |
virtual ~EnumValues() | Destructor. |
See Also
- Class EnumValuesBase
- Namespace System
- Library Aspose.PUB for C++