System::ObjectExt::Unbox-methode
inhoud
[
verbergen
]ObjectExt::Unbox(const SmartPtr<Object>&) method
Unboxt waardetypen na conversie naar Object. Implementatie voor enum-types.
template<typename T> static std::enable_if<std::is_enum<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| Parameter | Beschrijving |
|---|---|
| T | Enum type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | const SmartPtr<Object>& | Object om te unboxen. |
ReturnValue
Enum value.
Zie ook
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
Unboxt waardetypen na conversie naar Object. Implementatie voor niet-enum- en niet-nullable types.
template<class T> static std::enable_if<!std::is_enum<T>::value &&detail::has_operator_equal<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| Parameter | Beschrijving |
|---|---|
| T | Waarde‑type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | const SmartPtr<Object>& | Object om te unboxen. |
ReturnValue
Unboxte waarde.
Zie ook
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
Unboxt waardetypen na conversie naar Object. Implementatie voor niet-enum- en niet-nullable types.
template<class T> static std::enable_if<!std::is_enum<T>::value &&!detail::has_operator_equal<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| Parameter | Beschrijving |
|---|---|
| T | Waarde‑type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | const SmartPtr<Object>& | Object om te unboxen. |
ReturnValue
Unboxte waarde.
Zie ook
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
Ontdoet string-waarden.
String System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | const SmartPtr<Object>& | Object om te unboxen |
ReturnValue
String representation of boxed string, can be null if boxed string was null.
Zie ook
ObjectExt::Unbox(E) method
Ontdoet enum-typen naar integer.
template<class T,class E> static std::enable_if<std::is_enum<E>::value &&std::numeric_limits<T>::is_integer, T>::type System::ObjectExt::Unbox(E e)
| Parameter | Beschrijving |
|---|---|
| T | Doel-integertype. |
| E | Bron-enumtype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| e | E | Waarde om te unboxen. |
ReturnValue
Integerrepresentatie van enum.
Zie ook
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(E) method
Converteert enum-typen.
template<class T,class E> static std::enable_if<std::is_enum<E>::value &&std::is_enum<T>::value, T>::type System::ObjectExt::Unbox(E e)
| Parameter | Beschrijving |
|---|---|
| T | Doelenumtype. |
| E | Bron-enumtype. |
| Parameter | Type | Beschrijving |
|---|---|---|
| e | E | Waarde om te unboxen. |
ReturnValue
Geconverteerde enumwaarde.
Zie ook
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++