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: | |
namespace | APPENDABLES |
namespace | compatibility |
namespace | detail |
This is a detail namespace of module ALib Strings. | |
namespace | util |
Type Index: | |
struct | AppendableTraits |
struct | AppendableTraits< TField< TChar >, TChar, TAllocator > |
struct | CStringConstantsTraits |
struct | NoAutoCastTraits |
struct | NoAutoCastTraits< TAString< TChar, TAllocator >, characters::Policy::Implicit, TCString< TChar > > |
struct | NoAutoCastTraits< TAString< TChar, TAllocator >, characters::Policy::Implicit, TSubstring< TChar > > |
struct | NoAutoCastTraits< TCString< TChar >, characters::Policy::Implicit, TSubstring< TChar > > |
struct | StringConstantsTraits |
class | TAString |
struct | TBin |
class | TCString |
class | TDec |
struct | TEscape |
struct | TField |
struct | TFill |
struct | THex |
class | TLocalString |
struct | TLocalStringNoWarning |
struct | TNumberFormat |
struct | TOct |
class | TString |
class | TStringLengthResetter |
class | TStringNZT |
class | TSubstring |
struct | TTab |
Concepts | |
concept | IsAppendable |
Enumeration Index: | |
enum class | NumberFormatFlags : uint8_t { NONE = 0 , ReadGroupChars = 1 , WriteGroupChars = 2 , ForceDecimalPoint = 4 , WriteExponentPlusSign = 8 , OmitTrailingFractionalZeros =16 , ReplaceLeadingZerosWithSpaces =32 , ForceScientific =64 , HexLowerCase =128 } |
Function Index: | |
Comparison Operators | |
auto | operator<=> (const String &lhs, const String &rhs) |
Variable Index: | |
constexpr integer | MAX_LEN = (std::numeric_limits<integer>::max)() |
The maximum length of an ALib string. | |
|
strong |
Flags used with class TNumberFormat. By default (with construction of an instance of TNumberFormat), all flags are unset, except ForceDecimalPoint.
Enumerator | |
---|---|
NONE | If assigned, all flags are unset. |
ReadGroupChars | Denotes if grouping characters are ignored when parsing numbers if they are given (not set to |
WriteGroupChars | Denotes if grouping characters are written if they are given (not set to |
ForceDecimalPoint | If |
WriteExponentPlusSign | Determines if positive exponent values are prepended with an explicit '+' character when written using WriteFloat. |
OmitTrailingFractionalZeros | If this flag ist set, then trailing |
ReplaceLeadingZerosWithSpaces | If this flag ist set, then leading |
ForceScientific | If If one of the fields TNumberFormat::IntegralPartMinimumWidth or TNumberFormat::FractionalPartWidth is set to a positive value, these limits get extended. Function WriteFloat in this case keeps non-scientific notation established if possible. |
HexLowerCase | If |
Definition at line 14 of file numberformat.inl.
Starship operator and ==
operator for ALib Strings and compatible types.
The operators use methods lhs.Equals<CHK, lang::Case::Sensitive>(rhs), and lhs.CompareTo<CHK, lang::Case::Sensitive>(rhs) for evaluation.
For performance-critical sections, the original methods may be used where template parameter TCheck can be set to NC.
operator<=>
is listed here in the documentation. Internally, different overloads with different requirements are used and, of course, operator== is likewise given.lhs | The left-hand operand of string-like type. |
rhs | The right-hand operand of string-like type. |
Definition at line 2282 of file string.inl.
The maximum length of an ALib string.
Definition at line 51 of file string.inl.