System::StringExtra Namespace Reference

Functions

String Concat (const ArrayPtr< String > &parts)
 Concatenates string array.
 
String Concat (const String &str0, const String &str1)
 Concatenates strings.
 
String Concat (const String &str0, const String &str1, const String &str2)
 Concatenates strings.
 
String Concat (const String &str0, const String &str1, const String &str2, const String &str3)
 Concatenates strings.
 
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.
 
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.
 
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.
 

Function Documentation

◆ Concat() [1/7]

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

Concatenates string array.

Parameters
partsArray of strings to join.
Returns
Joint string.

◆ Concat() [2/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() [3/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() [4/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.

◆ Concat() [5/7]

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

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

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.