System::ObjectExt::Unbox-Methode
Inhalt
[
Ausblenden
]ObjectExt::Unbox(const SmartPtr<Object>&) method
Entpackt Werttypen nach der Konvertierung zu Object. Implementierung für Enum-Typen.
template<typename T> static std::enable_if<std::is_enum<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| Parameter | Beschreibung |
|---|---|
| T | Enum Typ. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj | const SmartPtr<Object>& | Object zum Entpacken. |
ReturnValue
Enum value.
Siehe auch
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
Entpackt Werttypen nach der Konvertierung zu Object. Implementierung für Nicht-Enum- & Nicht-Nullable-Typen.
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 | Beschreibung |
|---|---|
| T | Werttyp. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj | const SmartPtr<Object>& | Object zum Entpacken. |
ReturnValue
Entpackter Wert.
Siehe auch
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
Entpackt Werttypen nach der Konvertierung zu Object. Implementierung für Nicht-Enum- & Nicht-Nullable-Typen.
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 | Beschreibung |
|---|---|
| T | Werttyp. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj | const SmartPtr<Object>& | Object zum Entpacken. |
ReturnValue
Entpackter Wert.
Siehe auch
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
Entboxt String-Werte.
String System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj | const SmartPtr<Object>& | Object zum Entpacken |
ReturnValue
String representation of boxed string, can be null if boxed string was null.
Siehe auch
ObjectExt::Unbox(E) method
Entboxt Aufzählungstypen zu 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 | Beschreibung |
|---|---|
| T | Ziel-Integer-Typ. |
| E | Quell-Enum-Typ. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| e | E | Wert zum Entpacken. |
ReturnValue
Ganzzahlige Darstellung des Enums.
Siehe auch
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Unbox(E) method
Konvertiert Aufzählungstypen.
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 | Beschreibung |
|---|---|
| T | Ziel-Enum-Typ. |
| E | Quell-Enum-Typ. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| e | E | Wert zum Entpacken. |
ReturnValue
Konvertierter Enum-Wert.
Siehe auch
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++