Méthode System::ObjectExt::Is
ObjectExt::Is(const char16_t *) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour le littéral chaîne.
template<class T> static bool System::ObjectExt::Is(const char16_t *str)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| str | const char16_t * | String littéral. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const ExceptionWrapper<U>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types d’enveloppe d’exception.
template<class T,class U> static std::enable_if<IsExceptionWrapper<T>::value, bool>::type System::ObjectExt::Is(const ExceptionWrapper<U> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const ExceptionWrapper<U>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class ExceptionWrapper
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const Nullable<U>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour le type Nullable.
template<class T,class U> static bool System::ObjectExt::Is(const Nullable<U> &value)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| value | const Nullable<U>& | type Nullable. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class Nullable
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const Object&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types valeur.
template<class T> static std::enable_if<std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const Object& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const Object&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types non convertibles.
template<class T> static std::enable_if<!std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const Object& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Renvoie toujours faux car les types sont non convertibles.
Voir aussi
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const SmartPtr<Object>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types nullable.
template<class T> static std::enable_if<IsNullable<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const SmartPtr<Object>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const SmartPtr<Object>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types pouvant être boxés avec l’opérateur == défini.
template<class T> static std::enable_if<System::IsBoxable<T>::value &&!IsNullable<T>::value &&!std::is_enum<T>::value &&detail::has_operator_equal<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const SmartPtr<Object>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const SmartPtr<Object>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types pouvant être boxés sans == défini.
template<class T> static std::enable_if<System::IsBoxable<T>::value &&!IsNullable<T>::value &&!std::is_enum<T>::value &&!detail::has_operator_equal<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const SmartPtr<Object>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const SmartPtr<U>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types pointeur.
template<class T,class U> static std::enable_if<IsSmartPtr<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const SmartPtr<U>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class SmartPtr
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const SmartPtr<U>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types enum.
template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| U | Type de l’objet pointé. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const SmartPtr<U>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class SmartPtr
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const SmartPtr<V>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation des types valeur boxés vers des interfaces.
template<class T,class V> static std::enable_if<System::IsBoxable<T>::value &&!IsNullable<T>::value &&!std::is_enum<T>::value &&!std::is_same<V, Object>::value, bool>::type System::ObjectExt::Is(const SmartPtr<V> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| V | Type de l’objet pointé. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const SmartPtr<V>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class Object
- Class SmartPtr
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const T&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types pouvant être boxés (valeur) qui sont exactement cela.
template<class T> static std::enable_if<System::IsBoxable<T>::value, bool>::type System::ObjectExt::Is(const T &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const T& | Object pour tester l’opérateur ‘is’. Ignoré. |
ReturnValue
Toujours vrai
Voir aussi
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const U&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types pointeur optimisés pour les classes ‘final’.
template<class T,class U> static std::enable_if<std::is_convertible<T, Object>::value &&std::is_final<T>::value &&!System::IsBoxable<T>::value &&System::IsSmartPtr<U>::value, bool>::type System::ObjectExt::Is(const U &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| U | Type testé. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const U& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const U&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types pointeur.
template<class T,class U> static std::enable_if<std::is_convertible<T, Object>::value &&!std::is_final<T>::value &&!System::IsBoxable<T>::value &&System::IsSmartPtr<U>::value, bool>::type System::ObjectExt::Is(const U &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| U | Type testé. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const U& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(const WeakPtr<U>&) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour les types enum vs pointeurs faibles.
template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const WeakPtr<U> &obj)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| U | Type de l’objet pointé. |
| Paramètre | Type | Description |
|---|---|---|
| obj | const WeakPtr<U>& | Object pour tester l’opérateur ‘is’. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class WeakPtr
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::Is(int32_t) method
Implémente la traduction de l’opérateur ‘is’. Spécialisation pour le littéral entier.
template<class T> static bool System::ObjectExt::Is(int32_t value)
| Paramètre | Description |
|---|---|
| T | Type cible. |
| Paramètre | Type | Description |
|---|---|---|
| valeur | int32_t | littéral entier. |
ReturnValue
Vrai si ‘is’ renvoie vrai, faux sinon.
Voir aussi
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++