|
| Path () |
|
| Path (const PathString &path) |
|
| Path (SystemFolders special) |
|
| Path (SystemFolders special, const PathString &fileName) |
|
Path & | Add (const PathString &dirOrFilename) |
|
ALIB_DLL void | AddModuleName (const PathString &extension) |
|
ALIB_DLL bool | Change (const PathString &path) |
|
ALIB_DLL bool | Change (SystemFolders special) |
|
void | Change (SystemFolders special, const PathString &fileName) |
|
ALIB_DLL SystemErrors | Create () |
|
ALIB_DLL SystemErrors | Create (const PathString &path) |
|
int | IsAbsolute () const |
|
ALIB_DLL bool | IsDirectory () |
|
ALIB_DLL SystemErrors | MakeReal () |
|
PathString | Name () const |
|
constexpr | TLocalString () |
|
| TLocalString (const TAppendable &src) |
|
| TLocalString (const TLocalString ©) |
|
constexpr | TLocalString (lang::HeapAllocator &pAllocator) |
|
| TLocalString (TLocalString &&move) noexcept |
|
TLocalString & | operator= (const TAppendable &src) |
|
TLocalString & | operator= (const TLocalString ©) |
|
TLocalString & | operator= (TLocalString &&move) |
|
constexpr | TAString () |
| Constructs an empty, nulled AString (does not allocate a buffer).
|
|
| TAString (const TAppendable &src) |
|
| TAString (const TAString ©) |
|
constexpr | TAString (lang::HeapAllocator &pAllocator) |
|
| TAString (TAString &&move) noexcept |
|
| ~TAString () noexcept |
| Destructs an AString object. An internally allocated buffer will be deleted.
|
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
constexpr | operator T () const |
|
constexpr | operator T () const |
|
constexpr | operator T () const |
|
constexpr | operator T () const |
|
TAString & | operator= (const TAString ©) |
|
PathCharType | operator[] (integer idx) const |
|
const_reverse_iterator | rbegin () const |
|
const_reverse_iterator | rend () const |
|
void | dbgCheck () const |
|
void | DbgDisableBufferReplacementWarning () |
|
ALIB_DLL void | SetBuffer (integer newCapacity) |
|
ALIB_DLL void | SetBuffer (PathCharType *extBuffer, integer extBufferSize, integer extLength=0, lang::Responsibility responsibility=lang::Responsibility::KeepWithSender) |
|
void | EnsureRemainingCapacity (integer spaceNeeded) |
|
ALIB_DLL void | GrowBufferAtLeastBy (integer minimumGrowth) |
|
integer | Capacity () const |
|
bool | HasInternalBuffer () const |
|
void | SetNull () |
| Invokes SetBuffer(0).
|
|
constexpr const PathCharType * | Terminate () const |
|
PathCharType * | VBuffer () const |
|
void | SetCharAt (integer idx, PathCharType c) |
|
PathCharType & | operator[] (integer idx) |
|
PathCharType | operator[] (integer idx) const |
|
void | SetLength (integer newLength) |
|
void | DetectLength () |
|
TAString & | ShortenTo (integer newLength) |
|
TAString & | Append (const TCharSrc *src, integer srcLength) |
|
TAString & | Append (const PathCharType *src, integer srcLength) |
|
TAString & | Append (const TString< PathCharType > &src, integer regionStart, integer regionLength=MAX_LEN) |
|
TAString & | Append (const TAppendable &src) |
|
TAString & | Append (const TStringSource &src) |
|
TAString & | Append (PathCharType src) |
|
TAString & | Append (characters::IsCharacter auto src) |
|
TAString & | NewLine () |
|
TAString & | _ (const TAppendable &src) |
|
TAString & | _ (const TString< PathCharType > &src, integer regionStart, integer regionLength=MAX_LEN) |
|
TAString & | operator<< (const TAppendable &src) |
|
TAString & | operator+= (const TAppendable &src) |
|
TAString & | _ () |
|
TAString & | Reset () |
|
TAString & | Reset (const TAppendable &src) |
|
TAString & | InsertAt (const TString< PathCharType > &src, integer pos) |
|
TAString & | InsertChars (PathCharType c, integer qty) |
|
TAString & | InsertChars (PathCharType c, integer qty, integer pos) |
|
TAString & | Delete (integer regionStart, integer regionLength=MAX_LEN) |
|
TAString & | DeleteStart (integer regionLength) |
|
TAString & | DeleteStart (const TString< PathCharType > &deleteIfMatch) |
|
TAString & | DeleteEnd (integer regionLength) |
|
TAString & | DeleteEnd (const TString< PathCharType > &deleteIfMatch) |
|
ALIB_DLL TAString & | Trim (const TCString< PathCharType > &trimChars=CStringConstantsTraits< PathCharType >::DefaultWhitespaces()) |
|
ALIB_DLL integer | TrimAt (integer idx, const TCString< PathCharType > &trimChars=CStringConstantsTraits< PathCharType >::DefaultWhitespaces()) |
|
TAString & | TrimStart (const TCString< PathCharType > &trimChars=CStringConstantsTraits< PathCharType >::DefaultWhitespaces()) |
|
TAString & | TrimEnd (const TCString< PathCharType > &trimChars=CStringConstantsTraits< PathCharType >::DefaultWhitespaces()) |
|
iterator | begin () |
|
iterator | end () |
|
reverse_iterator | rbegin () |
|
reverse_iterator | rend () |
|
constexpr void | push_back (PathCharType ch) |
|
constexpr PathCharType | pop_back () |
|
TAString & | ReplaceSubstring (const TString< PathCharType > &src, integer regionStart, integer regionLength) |
|
TAString & | ReplaceRegion (PathCharType c, integer regionStart, integer regionLength) |
|
ALIB_DLL integer | SearchAndReplace (PathCharType needle, PathCharType replacement, integer startIdx=0, integer endIdx=strings::MAX_LEN) |
|
ALIB_DLL integer | SearchAndReplace (const TString< PathCharType > &needle, const TString< PathCharType > &replacement, integer startIdx=0, integer maxReplacements=strings::MAX_LEN, lang::Case sensitivity=lang::Case::Sensitive, integer endIdx=strings::MAX_LEN) |
|
TAString & | ToUpper (integer regionStart=0, integer regionLength=MAX_LEN) |
|
TAString & | ToLower (integer regionStart=0, integer regionLength=MAX_LEN) |
|
TAString & | Reverse (integer regionStart=0, integer regionLength=MAX_LEN) |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_reverse_iterator | rbegin () const |
|
const_reverse_iterator | rend () const |
|
constexpr | TString () noexcept=default |
|
constexpr | TString () noexcept=default |
|
constexpr | TString (const PathCharType *pBuffer, integer pLength) noexcept |
|
constexpr | TString (const PathCharType *pBuffer, integer pLength) noexcept |
|
constexpr | TString (const T &src) noexcept |
|
constexpr | TString (const T &src) noexcept |
|
constexpr | TString (const T &src) noexcept |
|
constexpr | TString (const T &src) noexcept |
|
constexpr | TString (const TString &) noexcept=default |
| Defaulted copy constructor.
|
|
constexpr | TString (const TString &) noexcept=default |
| Defaulted copy constructor.
|
|
| TString (const_iterator &start, const_iterator &end) |
|
| TString (const_iterator &start, const_iterator &end) |
|
constexpr | TString (lang::IsNullptr auto const &) noexcept |
| Constructor accepting nullptr . Constructs a nulled string.
|
|
constexpr | TString (lang::IsNullptr auto const &) noexcept |
| Constructor accepting nullptr . Constructs a nulled string.
|
|
constexpr | TString (T &src) noexcept |
|
constexpr | TString (T &src) noexcept |
|
| TString (TAllocator &allocator, const TString< PathCharType > ©) |
|
| TString (TAllocator &allocator, const TString< PathCharType > ©) |
|
constexpr | TString (TString &&) noexcept=default |
| Defaulted move constructor.
|
|
constexpr | TString (TString &&) noexcept=default |
| Defaulted move constructor.
|
|
constexpr | operator T () const |
|
constexpr | operator T () const |
|
constexpr | operator T () const |
|
constexpr | operator T () const |
|
constexpr TString & | operator= (const TString &) noexcept=default |
|
constexpr TString & | operator= (const TString &) noexcept=default |
|
constexpr TString & | operator= (TString &&) noexcept=default |
|
constexpr TString & | operator= (TString &&) noexcept=default |
|
constexpr const PathCharType * | Buffer () const |
|
constexpr integer | Length () const |
|
integer | WStringLength () const |
|
constexpr bool | IsNull () const |
|
constexpr bool | IsNotNull () const |
|
constexpr bool | IsEmpty () const |
|
constexpr bool | IsNotEmpty () const |
|
TString< PathCharType > | Substring (integer regionStart, integer regionLength=MAX_LEN) const |
|
constexpr const PathCharType * | Buffer () const |
|
constexpr integer | Length () const |
|
integer | WStringLength () const |
|
constexpr bool | IsNull () const |
|
constexpr bool | IsNotNull () const |
|
constexpr bool | IsEmpty () const |
|
constexpr bool | IsNotEmpty () const |
|
TString< PathCharType > | Substring (integer regionStart, integer regionLength=MAX_LEN) const |
|
PathCharType | CharAt (integer idx) const |
|
PathCharType | CharAtStart () const |
|
PathCharType | CharAtEnd () const |
|
PathCharType | operator[] (integer idx) const |
|
PathCharType | CharAt (integer idx) const |
|
PathCharType | CharAtStart () const |
|
PathCharType | CharAtEnd () const |
|
PathCharType | operator[] (integer idx) const |
|
std::size_t | Hashcode () const |
|
std::size_t | HashcodeIgnoreCase () const |
|
std::size_t | Hashcode () const |
|
std::size_t | HashcodeIgnoreCase () const |
|
bool | Equals (const TString< PathCharType > &rhs) const |
|
int | CompareTo (const TString< PathCharType > &rhs) const |
|
int | CompareTo (const TString &rhs, integer rhsRegionStart, integer rhsRegionLength=MAX_LEN) const |
|
int | CompareTo (const TString &rhs, integer rhsRegionStart, integer rhsRegionLength, integer regionStart, integer regionLength=MAX_LEN) const |
|
bool | ContainsAt (const TString &needle, integer pos) const |
|
bool | StartsWith (const TString &needle) const |
|
bool | EndsWith (const TString &needle) const |
|
bool | Equals (const TString< PathCharType > &rhs) const |
|
int | CompareTo (const TString< PathCharType > &rhs) const |
|
int | CompareTo (const TString &rhs, integer rhsRegionStart, integer rhsRegionLength=MAX_LEN) const |
|
int | CompareTo (const TString &rhs, integer rhsRegionStart, integer rhsRegionLength, integer regionStart, integer regionLength=MAX_LEN) const |
|
bool | ContainsAt (const TString &needle, integer pos) const |
|
bool | StartsWith (const TString &needle) const |
|
bool | EndsWith (const TString &needle) const |
|
integer | IndexOf (PathCharType needle, integer startIdx=0) const |
|
integer | IndexOf (PathCharType needle, integer regionStart, integer regionLength) const |
|
integer | IndexOfOrLength (PathCharType needle) const |
|
integer | IndexOfOrLength (PathCharType needle, integer startIdx) const |
|
integer | LastIndexOf (PathCharType needle, integer startIndex=MAX_LEN) const |
|
integer | IndexOfAny (const TString &needles, integer startIdx=0) const |
|
integer | LastIndexOfAny (const TString &needles, integer startIdx=MAX_LEN) const |
|
integer | IndexOf (const TString &needle, integer startIdx=0, integer endIdx=strings::MAX_LEN) const |
|
integer | IndexOfFirstDifference (const TString &needle, lang::Case sensitivity=lang::Case::Sensitive, integer startIdx=0) const |
|
integer | IndexOfSegmentEnd (PathCharType opener, PathCharType closer, integer idx) const |
|
integer | CountChar (PathCharType needle, integer startPos=0) const |
|
integer | CountChar (PathCharType needle, PathCharType omit, integer startPos) const |
|
integer | Count (const TString &needle, integer startPos=0) const |
|
integer | Count (const TString &needle, const TString &omit, integer startPos=0) const |
|
integer | IndexOf (PathCharType needle, integer startIdx=0) const |
|
integer | IndexOf (PathCharType needle, integer regionStart, integer regionLength) const |
|
integer | IndexOf (const TString &needle, integer startIdx=0, integer endIdx=strings::MAX_LEN) const |
|
integer | IndexOfOrLength (PathCharType needle) const |
|
integer | IndexOfOrLength (PathCharType needle, integer startIdx) const |
|
integer | LastIndexOf (PathCharType needle, integer startIndex=MAX_LEN) const |
|
integer | IndexOfAny (const TString &needles, integer startIdx=0) const |
|
integer | LastIndexOfAny (const TString &needles, integer startIdx=MAX_LEN) const |
|
integer | IndexOfFirstDifference (const TString &needle, lang::Case sensitivity=lang::Case::Sensitive, integer startIdx=0) const |
|
integer | IndexOfSegmentEnd (PathCharType opener, PathCharType closer, integer idx) const |
|
integer | CountChar (PathCharType needle, integer startPos=0) const |
|
integer | CountChar (PathCharType needle, PathCharType omit, integer startPos) const |
|
integer | Count (const TString &needle, integer startPos=0) const |
|
integer | Count (const TString &needle, const TString &omit, integer startPos=0) const |
|
ALIB_DLL uint64_t | ParseDecDigits (integer startIdx=0, integer *newIdx=nullptr) const |
|
ALIB_DLL int64_t | ParseInt (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
int64_t | ParseInt (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
int64_t | ParseInt (integer *newIdx) const |
|
int64_t | ParseInt (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseDec (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseDec (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseDec (integer *newIdx) const |
|
uint64_t | ParseDec (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseBin (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseBin (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseBin (integer *newIdx) const |
|
uint64_t | ParseBin (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseHex (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseHex (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseHex (integer *newIdx) const |
|
uint64_t | ParseHex (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseOct (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseOct (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseOct (integer *newIdx) const |
|
uint64_t | ParseOct (integer startIdx, integer *newIdx) const |
|
ALIB_DLL double | ParseFloat (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
double | ParseFloat (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
double | ParseFloat (integer *newIdx) const |
|
double | ParseFloat (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseDecDigits (integer startIdx=0, integer *newIdx=nullptr) const |
|
ALIB_DLL int64_t | ParseInt (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
int64_t | ParseInt (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
int64_t | ParseInt (integer *newIdx) const |
|
int64_t | ParseInt (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseDec (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseDec (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseDec (integer *newIdx) const |
|
uint64_t | ParseDec (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseBin (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseBin (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseBin (integer *newIdx) const |
|
uint64_t | ParseBin (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseHex (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseHex (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseHex (integer *newIdx) const |
|
uint64_t | ParseHex (integer startIdx, integer *newIdx) const |
|
ALIB_DLL uint64_t | ParseOct (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
uint64_t | ParseOct (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
uint64_t | ParseOct (integer *newIdx) const |
|
uint64_t | ParseOct (integer startIdx, integer *newIdx) const |
|
ALIB_DLL double | ParseFloat (integer startIdx=0, TNumberFormat< PathCharType > *numberFormat=nullptr, integer *newIdx=nullptr) const |
|
double | ParseFloat (TNumberFormat< PathCharType > *numberFormat, integer *newIdx=nullptr) const |
|
double | ParseFloat (integer *newIdx) const |
|
double | ParseFloat (integer startIdx, integer *newIdx) const |
|
integer | CopyTo (PathCharType *dest) const |
|
void | Allocate (TAllocator &allocator, const TString< PathCharType > ©) |
|
void | Free (TAllocator &allocator) |
|
integer | CopyTo (PathCharType *dest) const |
|
void | Allocate (TAllocator &allocator, const TString< PathCharType > ©) |
|
void | Free (TAllocator &allocator) |
|
const_iterator | begin () const |
|
const_iterator | cbegin () const |
|
const_iterator | end () const |
|
const_iterator | cend () const |
|
const_reverse_iterator | rbegin () const |
|
const_reverse_iterator | rend () const |
|
const_reverse_iterator | crbegin () const |
|
const_reverse_iterator | crend () const |
|
size_type | size () const |
|
const_iterator | begin () const |
|
const_iterator | cbegin () const |
|
const_iterator | end () const |
|
const_iterator | cend () const |
|
const_reverse_iterator | rbegin () const |
|
const_reverse_iterator | rend () const |
|
const_reverse_iterator | crbegin () const |
|
const_reverse_iterator | crend () const |
|
size_type | size () const |
|
bool | AdjustRegion (integer ®ionStart, integer ®ionLength) const |
|
bool | AdjustRegion (integer ®ionStart, integer ®ionLength) const |
|
| AllocatorMember ()=delete |
| Deleted default constructor. (The allocator has to be given with construction)
|
|
| AllocatorMember (lang::HeapAllocator &pAllocator) noexcept |
|
AllocatorInterface< lang::HeapAllocator > | AI () const noexcept |
|
lang::HeapAllocator & | GetAllocator () const noexcept |
|