System::StringExtra Namespace Reference

Functions

String Concat (const ArrayPtr< String > &parts)
 
String Concat (const String &str0, const String &str1)
 
String Concat (const String &str0, const String &str1, const String &str2)
 
template<typename T >
std::enable_if_t< IsSmartPtr< T >::value, StringConcat (const ArrayPtr< T > &args)
 
template<typename T >
std::enable_if_t< std::is_arithmetic< T >::value, StringConcat (const ArrayPtr< T > &args)
 
template<typename T >
std::enable_if_t<!IsSmartPtr< T >::value &&!std::is_arithmetic< T >::value, StringConcat (const ArrayPtr< T > &args)
 

Function Documentation

◆ Concat() [1/6]

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

Concatenates string array.

Parameters
partsArray of strings to join.
Returns
Joint string.

◆ Concat() [2/6]

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/6]

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/6]

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() [5/6]

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() [6/6]

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.