|
|
| xiiHybridString (xiiAllocator *pAllocator) |
|
| xiiHybridString (const xiiHybridString< Size, AllocatorWrapper > &other) |
|
| xiiHybridString (const xiiHybridStringBase< Size > &other) |
|
| xiiHybridString (const char *rhs) |
|
| xiiHybridString (const wchar_t *rhs) |
|
| xiiHybridString (const xiiStringView &rhs) |
|
| xiiHybridString (const xiiStringBuilder &rhs) |
|
| xiiHybridString (xiiStringBuilder &&rhs) |
|
| xiiHybridString (xiiHybridString< Size, AllocatorWrapper > &&other) |
|
| xiiHybridString (xiiHybridStringBase< Size > &&other) |
|
void | operator= (const xiiHybridString< Size, AllocatorWrapper > &rhs) |
|
void | operator= (const xiiHybridStringBase< Size > &rhs) |
|
void | operator= (const char *szString) |
|
void | operator= (const wchar_t *pString) |
|
void | operator= (const xiiStringView &rhs) |
|
void | operator= (const xiiStringBuilder &rhs) |
|
void | operator= (xiiStringBuilder &&rhs) |
|
void | operator= (xiiHybridString< Size, AllocatorWrapper > &&rhs) |
|
void | operator= (xiiHybridStringBase< Size > &&rhs) |
| void | Clear () |
|
const char * | GetData () const |
| | Returns a pointer to the internal Utf8 string.
|
|
xiiUInt32 | GetElementCount () const |
| | Returns the amount of bytes that this string takes (excluding the '\0' terminator).
|
| xiiUInt32 | GetCharacterCount () const |
| xiiStringView | GetSubString (xiiUInt32 uiFirstCharacter, xiiUInt32 uiNumCharacters) const |
| xiiStringView | GetFirst (xiiUInt32 uiNumCharacters) const |
| xiiStringView | GetLast (xiiUInt32 uiNumCharacters) const |
|
void | ReadAll (xiiStreamReader &ref_stream) |
| | Replaces the current string with the content from the stream. Reads the stream to its end.
|
|
xiiUInt64 | GetHeapMemoryUsage () const |
| | Returns the amount of bytes that are currently allocated on the heap.
|
|
bool | IsEmpty () const |
| | Returns whether the string is an empty string.
|
|
bool | StartsWith (xiiStringView sStartsWith) const |
| | Returns true, if this string starts with the given string.
|
|
bool | StartsWith_NoCase (xiiStringView sStartsWith) const |
| | Returns true, if this string starts with the given string. Case insensitive.
|
|
bool | EndsWith (xiiStringView sEndsWith) const |
| | Returns true, if this string ends with the given string.
|
|
bool | EndsWith_NoCase (xiiStringView sEndsWith) const |
| | Returns true, if this string ends with the given string. Case insensitive.
|
| const char * | FindSubString (xiiStringView sStringToFind, const char *szStartSearchAt=nullptr) const |
| const char * | FindSubString_NoCase (xiiStringView sStringToFind, const char *szStartSearchAt=nullptr) const |
| const char * | FindLastSubString (xiiStringView sStringToFind, const char *szStartSearchAt=nullptr) const |
| const char * | FindLastSubString_NoCase (xiiStringView sStringToFind, const char *szStartSearchAt=nullptr) const |
| const char * | FindWholeWord (const char *szSearchFor, xiiStringUtils::XII_CHARACTER_FILTER isDelimiterCB, const char *szStartSearchAt=nullptr) const |
| const char * | FindWholeWord_NoCase (const char *szSearchFor, xiiStringUtils::XII_CHARACTER_FILTER isDelimiterCB, const char *szStartSearchAt=nullptr) const |
|
xiiInt32 | Compare (xiiStringView sOther) const |
| | Compares this string with the other one. Returns 0 for equality, -1 if this string is 'smaller', 1 otherwise.
|
| xiiInt32 | CompareN (xiiStringView sOther, xiiUInt32 uiCharsToCompare) const |
|
xiiInt32 | Compare_NoCase (xiiStringView sOther) const |
| | Compares this string with the other one. Returns 0 for equality, -1 if this string is 'smaller', 1 otherwise. Case insensitive.
|
| xiiInt32 | CompareN_NoCase (xiiStringView sOther, xiiUInt32 uiCharsToCompare) const |
|
bool | IsEqual (xiiStringView sOther) const |
| | Compares this string with the other string for equality.
|
|
bool | IsEqualN (xiiStringView sOther, xiiUInt32 uiCharsToCompare) const |
| | Compares up to a given number of characters of this string with the other string for equality. Case insensitive.
|
|
bool | IsEqual_NoCase (xiiStringView sOther) const |
| | Compares this string with the other string for equality.
|
|
bool | IsEqualN_NoCase (xiiStringView sOther, xiiUInt32 uiCharsToCompare) const |
| | Compares up to a given number of characters of this string with the other string for equality. Case insensitive.
|
|
const char * | ComputeCharacterPosition (xiiUInt32 uiCharacterIndex) const |
| | Computes the pointer to the n-th character in the string. This is a linear search from the start.
|
| iterator | GetIteratorFront () const |
| reverse_iterator | GetIteratorBack () const |
|
| operator xiiStringView () const |
| | Returns a string view to this string's data.
|
|
xiiStringView | GetView () const |
| | Returns a string view to this string's data.
|
|
XII_ALWAYS_INLINE | operator const char * () const |
| | Returns a pointer to the internal Utf8 string.
|
| void | Split (bool bReturnEmptyStrings, Container &ref_output, const char *szSeparator1, const char *szSeparator2=nullptr, const char *szSeparator3=nullptr, const char *szSeparator4=nullptr, const char *szSeparator5=nullptr, const char *szSeparator6=nullptr) const |
|
bool | HasAnyExtension () const |
| | Checks whether the given path has any file extension.
|
| bool | HasExtension (xiiStringView sExtension) const |
|
xiiStringView | GetFileExtension (bool bFullExtension=false) const |
| | Returns the file extension of the given path. Will be empty, if the path does not end with a proper extension.
|
| xiiStringView | GetFileName () const |
| xiiStringView | GetFileNameAndExtension () const |
| xiiStringView | GetFileDirectory () const |
|
bool | IsAbsolutePath () const |
| | Returns true, if the given path represents an absolute path on the current OS.
|
|
bool | IsRelativePath () const |
| | Returns true, if the given path represents a relative path on the current OS.
|
|
bool | IsRootedPath () const |
| | Returns true, if the given path represents a 'rooted' path. See xiiFileSystem for details.
|
| xiiStringView | GetRootedPathRootName () const |
template<xiiUInt16 Size, typename AllocatorWrapper = xiiDefaultAllocatorWrapper>
struct xiiHybridString< Size, AllocatorWrapper >
- See also
- xiiHybridStringBase