This is the reference documentation of sub-namespace strings
of the ALib C++ Library, which holds types of library module ALib Strings.
Extensive documentation for this module is provided with ALib Module Strings - Programmer's Manual.
Nested namespaces | |
APPENDABLES | |
compatibility | |
detail | |
util | |
Classes | |
struct | T_Append |
struct | T_SuppressAutoCast |
class | TAString |
class | TCString |
class | TFormat |
class | TLocalString |
struct | TLocalStringNoWarning |
struct | TNumberFormat |
class | TString |
class | TStringNZT |
class | TSubstring |
struct | TT_IsAppendable |
struct | TT_StringConstants |
Variables | |
constexpr static integer | MAX_LEN = (std::numeric_limits<integer>::max)() |
Functions | |
template<typename TChar > | |
lib::strings::TString< TChar > | AllocateCopy (const lib::strings::TString< TChar > &src) |
template<typename TChar > | |
void | DeleteString (const lib::strings::TString< TChar > &string) |
bool | operator!= (const String &lhs, const String &rhs) |
bool | operator<=> (const String &lhs, const String &rhs) |
bool | operator== (const String &lhs, const String &rhs) |
|
inline |
Inline namespace function to create a dynamically allocated copy of a string. The string may be deleted using DeleteString.
Strings created with this function might be deleted with DeleteString.
TChar | The character type of the string. Deduced from the given argument. |
src | The source string to copy. |
Definition at line 2371 of file string.hpp.
|
inline |
Inline namespace function to delete the buffer of a dynamically allocated string. All the method does is: delete[] string.Buffer()
TChar | The character type of the string. Deduced from the given argument. |
string | The string who'se buffer is to be deleted. |
Definition at line 2389 of file string.hpp.
Not-Equal operator for ALib Strings and compatible types. Returns the result of lhs.Equals<Case::Sensitive>(rhs).
lhs | The left-hand operand of string-like type. |
rhs | The right-hand operand of string-like type. |
false
if the contents of the strings are equal, true
otherwise. Definition at line 2298 of file string.hpp.
Provision of operators '<'
, '<='
, '>'
and '<='
for ALib Strings and compatible types. Invokes of lhs.CompareTo<Case::Sensitive>(rhs) and returns the rightfully interpreted result.
lhs | The left-hand operand of string-like type. |
rhs | The right-hand operand of string-like type. |
false
if the contents of the strings are equal, true
otherwise. Definition at line 2314 of file string.hpp.
Equal operator for ALib Strings and compatible types. Returns the result of lhs.Equals<Case::Sensitive>(rhs).
lhs | The left-hand operand of string-like type. |
rhs | The right-hand operand of string-like type. |
true
if the contents of the strings are equal, false
otherwise. Definition at line 2284 of file string.hpp.
The maximum length of an ALib string.
Definition at line 41 of file string.hpp.