System::BoxedValueBase class
Contents
[
Hide
]BoxedValueBase class
A base class that defines an interface and implements some fundamental methods of a descendant class that represents a boxed 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.
class BoxedValueBase : public System::Object
Methods
Method | Description |
---|---|
virtual GetTypeCode() const | Returns the value representing the type of the boxed value represented by the current object. |
virtual GetUnsignedLongLongValue() const | Converts the boxed represented by the current object to 64-bit integer value. |
virtual IsBoxedEnum() | Determines if current object represents a boxed value of enum type. |
static Parse(const TypeInfo&, const String&, bool) | Boxes the value of enumeration constant of the specified enumeration with the specified name. A parameter specifies if the case should be ignored when interpreting the string specifying the name of the enumeration constant. |
static Parse(const TypeInfo&, const String&) | Boxes the value of enumeration constant of the specified enumeration with the specified name. |
ToString(const System::String&) const | Converts boxed object to string using specified format string. |
virtual ToString() const | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
See Also
- Class Object
- Namespace System
- Library Aspose.TeX for C++