System::BoxedEnum class
Contents
[
Hide
]BoxedEnum class
Represents boxed enumeration value. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename E,typename UT>class BoxedEnum : public System::BoxedValue<typename std::underlying_type<E>::type>
Parameter | Description |
---|---|
E | Type of the enumeration value |
UT | The underlying type of enumeration E |
Methods
Method | Description |
---|---|
BoxedEnum(E) | Constructs an instance that represents the specified enumeration value. |
GetUnsignedLongLongValue() override | Converts the value of the boxed enumeration constant to 64-bit integer value. |
IsBoxedEnum() override | Determines whether the current object represents a boxed value of enum type. |
ToString() const override | Converts boxed value represented by the current object to string. |
See Also
- Class BoxedValue
- Namespace System
- Library Aspose.PUB for C++