System::ObjectExt::Is method
ObjectExt::Is(const char16_t *) method
Implements ‘is’ operator translation. Specialization for string literal.
template<class T> static bool System::ObjectExt::Is(const char16_t *str)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
str | const char16_t * | String literal. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const ExceptionWrapper<U>&) method
Implements ‘is’ operator translation. Specialization for exception wrapper types.
template<class T,class U> static std::enable_if<IsExceptionWrapper<T>::value, bool>::type System::ObjectExt::Is(const ExceptionWrapper<U> &obj)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const ExceptionWrapper<U>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class ExceptionWrapper
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const Nullable<U>&) method
Implements ‘is’ operator translation. Specialization for Nullable type.
template<class T,class U> static bool System::ObjectExt::Is(const Nullable<U> &value)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
value | const Nullable<U>& | Nullable type. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class Nullable
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const Object&) method
Implements ‘is’ operator translation. Specialization for value types.
template<class T> static std::enable_if<std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const Object& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const Object&) method
Implements ‘is’ operator translation. Specialization for unconvertible types.
template<class T> static std::enable_if<!std::is_convertible<T, Object>::value, bool>::type System::ObjectExt::Is(const Object &obj)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const Object& | Object to test for ‘is’ operator. |
ReturnValue
Always returns false as types are unconvertible.
See Also
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const SmartPtr<Object>&) method
Implements ‘is’ operator translation. Specialization for nullable types.
template<class T> static std::enable_if<IsNullable<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<Object> &obj)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<Object>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const SmartPtr<Object>&) method
Implements ‘is’ operator translation. Specialization for boxable types with == operator defined.
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)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<Object>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const SmartPtr<Object>&) method
Implements ‘is’ operator translation. Specialization for boxable types without defined ==.
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)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<Object>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const SmartPtr<U>&) method
Implements ‘is’ operator translation. Specialization for pointer types.
template<class T,class U> static std::enable_if<IsSmartPtr<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<U>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class SmartPtr
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const SmartPtr<U>&) method
Implements ‘is’ operator translation. Specialization for enum types.
template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const SmartPtr<U> &obj)
Parameter | Description |
---|---|
T | Target type. |
U | Type of the pointed object. |
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<U>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class SmartPtr
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const U&) method
Implements ‘is’ operator translation. Specialization for pointer types optimized for ‘final’ classes.
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)
Parameter | Description |
---|---|
T | Target type. |
U | Tested type. |
Parameter | Type | Description |
---|---|---|
obj | const U& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const U&) method
Implements ‘is’ operator translation. Specialization for pointer types.
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)
Parameter | Description |
---|---|
T | Target type. |
U | Tested type. |
Parameter | Type | Description |
---|---|---|
obj | const U& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(const WeakPtr<U>&) method
Implements ‘is’ operator translation. Specialization for enum types vs weak pointers.
template<class T,class U> static std::enable_if<std::is_enum<T>::value, bool>::type System::ObjectExt::Is(const WeakPtr<U> &obj)
Parameter | Description |
---|---|
T | Target type. |
U | Type of the pointed object. |
Parameter | Type | Description |
---|---|---|
obj | const WeakPtr<U>& | Object to test for ‘is’ operator. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class WeakPtr
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++
ObjectExt::Is(int32_t) method
Implements ‘is’ operator translation. Specialization for integer literal.
template<class T> static bool System::ObjectExt::Is(int32_t value)
Parameter | Description |
---|---|
T | Target type. |
Parameter | Type | Description |
---|---|---|
value | int32_t | integer literal. |
ReturnValue
True if ‘is’ returns true, false otherwise.
See Also
- Class ObjectExt
- Namespace System
- Library Aspose.TeX for C++