Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common > API/Runtime/uLangCore/uLang/Common/Text
Inheritance Hierarchy
- AllocatorType
- TUTF8String
References
| Module | uLangCore |
| Header | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Text/UTF8String.h |
| Include | #include "uLang/Common/Text/UTF8String.h" |
Syntax
template<class AllocatorType, typename... AllocatorArgsType>
class TUTF8String : private AllocatorType
Remarks
Simple string class, used mostly for string storage Implements null termination, so can be used as a C-style string (via operator *) The AllocatorType must provide the methods void * Allocate(size_t) and void Deallocate(void *)
Constructors
| Type | Name | Description | |
|---|---|---|---|
TUTF8String () |
|||
TUTF8String
(
AllocatorArgsType&&... AllocatorArgs, |
|||
TUTF8String
(
AllocatorArgsType&&... AllocatorArgs, |
|||
TUTF8String
(
size_t ByteLength, |
|||
| ULANG_FORCEINLINE | TUTF8String
(
AllocatorArgsType&&... AllocatorArgs, |
||
| ULANG_FORCEINLINE | TUTF8String
(
size_t ByteLength, |
||
TUTF8String
(
const TUTF8String& Other |
|||
TUTF8String
(
TUTF8String&& Other |
|||
TUTF8String
(
const char* NullTerminatedString, |
TUTF8String Inline Methods. | ||
TUTF8String
(
const CUTF8StringView& StringView, |
|||
TUTF8String
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other, |
|||
| ULANG_FORCEINLINE | TUTF8String
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~TUTF8String () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE const char * | AsCString () |
||
| ULANG_FORCEINLINE const UTF8Char * | AsUTF8 () |
||
| ULANG_FORCEINLINECUTF8StringView::UnicodeConstIterator | begin () |
||
| ULANG_FORCEINLINE int32_t | ByteLen () |
||
| ULANG_FORCEINLINE void | Empty () |
||
| ULANG_FORCEINLINECUTF8StringView::UnicodeConstIterator | end () |
||
| const TUTF8String & | GetEmpty () |
||
| ULANG_FORCEINLINE bool | InputByteIdxSpan
(
int32_t& InOutIdx, |
||
| ULANG_FORCEINLINE int32_t | InputByteIdxToDirectIdx
(
int32_t InIdx |
||
| ULANG_FORCEINLINE bool | IsEmpty () |
||
| ULANG_FORCEINLINE bool | IsFilled () |
||
| TUTF8String | Replace
(
const CUTF8StringView& Old, |
||
| ULANG_FORCEINLINETUTF8String | |||
| ULANG_FORCEINLINE void | Reset () |
||
| ULANG_FORCEINLINEUTF8Char * | Resize
(
int32_t NewByteLen |
||
| ULANG_FORCEINLINE const CUTF8StringView & | ToStringView () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE | |||
| ULANG_FORCEINLINE bool | operator!=
(
const CUTF8StringView& StringView |
||
| ULANG_FORCEINLINE bool | operator!=
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| ULANG_FORCEINLINE const char * | operator* () |
||
| ULANG_FORCEINLINE const UTF8Char & | operator[]
(
int32_t ByteIndex |
||
| ULANG_FORCEINLINETUTF8String< AllocatorType, AllocatorArgsType... > | operator+
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| TUTF8String | operator+
(
const char* OtherNullTerminatedString |
||
| TUTF8String | operator+
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| TUTF8String | operator+
(
const CUTF8StringView& OtherStringView |
||
| TUTF8String & | operator+=
(
const CUTF8StringView& OtherStringView |
Append. | |
| TUTF8String & | operator+=
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| TUTF8String & | operator+=
(
const char* OtherNullTerminatedString |
||
| ULANG_FORCEINLINETUTF8String< AllocatorType, AllocatorArgsType... > & | operator+=
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| ULANG_FORCEINLINE bool | operator<
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| ULANG_FORCEINLINE bool | operator<=
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| TUTF8String & | operator=
(
const TUTF8String& Other |
||
| TUTF8String & | operator=
(
TUTF8String&& Other |
||
| ULANG_FORCEINLINE bool | operator==
(
const CUTF8StringView& StringView |
||
| ULANG_FORCEINLINE bool | operator==
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| ULANG_FORCEINLINE bool | operator>
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |
||
| ULANG_FORCEINLINE bool | operator>=
(
const TUTF8String< OtherAllocatorType, OtherAllocatorArgsType... >& Other |