Asposecpplib
System::StringExtra Namespace Reference

Functions

ASPOSECPP_SHARED_API String Concat (const ArrayPtr< String > &parts)
 Concatenates string array. More...
 
ASPOSECPP_SHARED_API String Concat (const String &str0, const String &str1)
 Concatenates strings. More...
 
ASPOSECPP_SHARED_API String Concat (const String &str0, const String &str1, const String &str2)
 Concatenates strings. More...
 
ASPOSECPP_SHARED_API String Concat (const String &str0, const String &str1, const String &str2, const String &str3)
 Concatenates strings. More...
 
template<typename T >
std::enable_if_t< IsSmartPtr< T >::value, StringConcat (const ArrayPtr< T > &args)
 Converts multiple objects to string and concatenates resulting strings. Specialization for SmartPtr types. More...
 
template<typename T >
std::enable_if_t< std::is_arithmetic< T >::value, StringConcat (const ArrayPtr< T > &args)
 Converts multiple objects to string and concatenates resulting strings. Specialization for arithmetic types. More...
 
template<typename T >
std::enable_if_t<!IsSmartPtr< T >::value &&!std::is_arithmetic< T >::value, StringConcat (const ArrayPtr< T > &args)
 Converts multiple objects to string and concatenates resulting strings. Specialization for structures and other value types. More...
 

Function Documentation

◆ Concat() [1/7]

ASPOSECPP_SHARED_API String System::StringExtra::Concat ( const ArrayPtr< String > &  parts)

Concatenates string array.

Parameters
partsArray of strings to join.
Returns
Joint string.

◆ Concat() [2/7]

ASPOSECPP_SHARED_API String System::StringExtra::Concat ( const String str0,
const String str1 
)

Concatenates strings.

Parameters
str0First string to concatenate.
str1Second string to concatenate.
Returns
Joint parameter strings.

◆ Concat() [3/7]

ASPOSECPP_SHARED_API String System::StringExtra::Concat ( const String str0,
const String str1,
const String str2 
)

Concatenates strings.

Parameters
str0First string to concatenate.
str1Second string to concatenate.
str2Third string to concatenate.
Returns
Joint parameter strings.

◆ Concat() [4/7]

ASPOSECPP_SHARED_API String System::StringExtra::Concat ( const String str0,
const String str1,
const String str2,
const String str3 
)

Concatenates strings.

Parameters
str0First string to concatenate.
str1Second string to concatenate.
str2Third string to concatenate.
str3Fourth string to concatenate.
Returns
Joint parameter strings.

◆ Concat() [5/7]

template<typename T >
std::enable_if_t<IsSmartPtr<T>::value, String> System::StringExtra::Concat ( const ArrayPtr< T > &  args)

Converts multiple objects to string and concatenates resulting strings. Specialization for SmartPtr types.

Parameters
argsObject to convert and join.
Returns
String value joint from string representations of all objects passed.

◆ Concat() [6/7]

template<typename T >
std::enable_if_t<std::is_arithmetic<T>::value, String> System::StringExtra::Concat ( const ArrayPtr< T > &  args)

Converts multiple objects to string and concatenates resulting strings. Specialization for arithmetic types.

Parameters
argsObject to convert and join.
Returns
String value joint from string representations of all objects passed.

◆ Concat() [7/7]

template<typename T >
std::enable_if_t<!IsSmartPtr<T>::value && !std::is_arithmetic<T>::value, String> System::StringExtra::Concat ( const ArrayPtr< T > &  args)

Converts multiple objects to string and concatenates resulting strings. Specialization for structures and other value types.

Parameters
argsObject to convert and join.
Returns
String value joint from string representations of all objects passed.