System::ObjectExt::ToString method
ObjectExt::ToString(const char_t *) method
Substitution for C# ToString method to work on any C++ type.
static String System::ObjectExt::ToString(const char_t *obj)
Parameter | Type | Description |
---|---|---|
obj | const char_t * | String literal to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(const Nullable<T>&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static String System::ObjectExt::ToString(const Nullable<T> &obj)
Parameter | Description |
---|---|
T | Nullable type. |
Parameter | Type | Description |
---|---|---|
obj | const Nullable<T>& | Nullable object to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class Nullable
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(const T&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<std::is_enum<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
Parameter | Description |
---|---|
T | Enum type. |
Parameter | Type | Description |
---|---|---|
obj | const T& | Enum value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(const T&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<IsSmartPtr<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
Parameter | Description |
---|---|
T | Smart pointer type. |
Parameter | Type | Description |
---|---|---|
obj | const T& | SmartPtr value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(T&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<IsSmartPtr<T>::value||std::is_pointer<T>::value||IsExceptionWrapper<T>::value, String>::type System::ObjectExt::ToString(T &obj)
Parameter | Description |
---|---|
T | Smart pointer type or ExceptionWrapper. |
Parameter | Type | Description |
---|---|---|
obj | T& | Smart pointer or ExceptionWrapper to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(T&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&std::is_scalar<T>::value &&!std::is_enum<T>::value, String>::type System::ObjectExt::ToString(T &obj)
Parameter | Description |
---|---|
T | Scalar type. |
Parameter | Type | Description |
---|---|---|
obj | T& | Scalar value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(T&&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&std::is_scalar<T>::value &&!std::is_enum<T>::value, String>::type System::ObjectExt::ToString(T &&obj)
Parameter | Description |
---|---|
T | Scalar type. |
Parameter | Type | Description |
---|---|---|
obj | T&& | Scalar value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(T&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<!IsExceptionWrapper<T>::value &&!IsSmartPtr<T>::value &&!std::is_scalar<T>::value &&!IsNullable<T>::value, String>::type System::ObjectExt::ToString(T &obj)
Parameter | Description |
---|---|
T | Structure type. |
Parameter | Type | Description |
---|---|---|
obj | T& | Structure value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(const T&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&!std::is_scalar<T>::value &&!IsNullable<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
Parameter | Description |
---|---|
T | Structure type. |
Parameter | Type | Description |
---|---|---|
obj | const T& | Structure value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ToString(T&&) method
Substitution for C# ToString method to work on any C++ type.
template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&!std::is_scalar<T>::value &&!IsNullable<T>::value &&!std::is_reference<T>::value, String>::type System::ObjectExt::ToString(T &&obj)
Parameter | Description |
---|---|
T | Scalar type. |
Parameter | Type | Description |
---|---|---|
obj | T&& | Scalar value to convert to string. |
ReturnValue
String representation of obj.
See Also
- Class String
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++