8#if !defined(HPP_ALIB_STRINGS_TASTRING_INLINING)
9# error "ALib sources with ending '.inl' must not be included from outside."
28#if !defined(ASTR_TCHAR_SPEC)
29# error "Preprocessor symbol ASTR_TCHAR_SPEC has to be given as ALIB_CHAR_TYPE_ID_XYZ before invoking this .INL"
31#if !defined(ASTR_TALLOC_SPEC)
32# error "Preprocessor symbol ASTR_TCHAR_SPEC has to be given as ALIB_CHAR_TYPE_ID_XYZ before invoking this .INL"
36#if ASTR_TCHAR_SPEC == ALIB_CHAR_TYPE_ID_N
37# define TCHARNAME nchar
38#elif ASTR_TCHAR_SPEC == ALIB_CHAR_TYPE_ID_W
39# define TCHARNAME wchar
40#elif ASTR_TCHAR_SPEC == ALIB_CHAR_TYPE_ID_X
41# define TCHARNAME xchar
46namespace alib {
namespace strings {
48template<
typename TChar>
71#if ASTR_TCHAR_SPEC == ALIB_CHAR_TYPE_ID_N
77#if ASTR_TCHAR_SPEC == ALIB_CHAR_TYPE_ID_W
83#if ASTR_TCHAR_SPEC == ALIB_CHAR_TYPE_ID_X
101#if ALIB_EXT_LIB_THREADS_AVAILABLE
106extern template ALIB_API void T_Append<TFormat<TCHARNAME> , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>& );
107extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Tab , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Tab& );
108extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Field , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Field& );
109extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Escape , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Escape& );
110extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Bin , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Bin& );
111extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Hex , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Hex& );
112extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Oct , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Oct& );
113extern template ALIB_API void T_Append<TFormat<TCHARNAME>::Fill , TCHARNAME, ASTR_TALLOC_SPEC>::operator()( TAString<TCHARNAME, ASTR_TALLOC_SPEC>&,
const TFormat<TCHARNAME>::Fill& );
121#undef ASTR_TALLOC_SPEC
122#undef ASTR_TCHAR_SPEC
ALIB_API integer SearchAndReplace(TChar needle, TChar replacement, integer startIdx=0, integer endIdx=strings::MAX_LEN)
ALIB_API void GrowBufferAtLeastBy(integer minimumGrowth)
TAString & Append(const TCharSrc *src, integer srcLength)
ALIB_API integer TrimAt(integer idx, const TCString< TChar > &trimChars=TT_CStringConstants< TChar >::DefaultWhitespaces())
ALIB_API TAString & Trim(const TCString< TChar > &trimChars=TT_CStringConstants< TChar >::DefaultWhitespaces())
ALIB_API void SetBuffer(integer newCapacity)
Case
Denotes upper and lower case character treatment.
characters::wchar wchar
Type alias in namespace alib.
characters::xchar xchar
Type alias in namespace alib.
characters::nchar nchar
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
void operator()(TAString< TChar > &target, const TAppendable &src)