System::ObjectExt::Unbox メソッド
コンテンツ
[
隠れる
]ObjectExt::Unbox(const SmartPtr<Object>&) method
値型を Object に変換した後にアンボックスします。列挙型向けの実装です。
template<typename T> static std::enable_if<std::is_enum<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| パラメーター | 説明 |
|---|---|
| T | Enum 型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | const SmartPtr<Object>& | Object をアンボックスします。 |
ReturnValue
Enum value.
参照
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
値型を Object に変換した後にアンボックスします。列挙型でなく、Nullable でもない型向けの実装です。
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)
| パラメーター | 説明 |
|---|---|
| T | 値型です。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | const SmartPtr<Object>& | Object をアンボックスします。 |
ReturnValue
アンボックスされた値。
参照
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
値型を Object に変換した後にアンボックスします。列挙型でなく、Nullable でもない型向けの実装です。
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)
| パラメーター | 説明 |
|---|---|
| T | 値型です。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | const SmartPtr<Object>& | Object をアンボックスします。 |
ReturnValue
アンボックスされた値。
参照
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(const SmartPtr<Object>&) method
文字列値をアンボックスします。
String System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | const SmartPtr<Object>& | Object をアンボックス |
ReturnValue
String representation of boxed string, can be null if boxed string was null.
参照
ObjectExt::Unbox(E) method
列挙型を整数にアンボックスします。
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)
| パラメーター | 説明 |
|---|---|
| T | 変換先整数型。 |
| E | 変換元列挙型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| e | E | アンボックスする値。 |
ReturnValue
列挙型の整数表現。
参照
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++
ObjectExt::Unbox(E) method
列挙型を変換します。
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)
| パラメーター | 説明 |
|---|---|
| T | 対象の列挙型。 |
| E | 変換元列挙型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| e | E | アンボックスする値。 |
ReturnValue
変換された列挙値。
参照
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++