Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common > API/Runtime/uLangCore/uLang/Common/Text
References
| Module | uLangCore |
| Header | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Text/UTF8StringView.h |
| Include | #include "uLang/Common/Text/UTF8StringView.h" |
Syntax
class CUTF8StringView
Variables
| Type | Name | Description | |
|---|---|---|---|
| const UTF8Char * | _Begin | Points to first byte. | |
| const UTF8Char * | _End | Points to the byte after the last byte. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CUTF8StringView
(
const char* NullterminatedString |
|||
CUTF8StringView
(
const UTF8Char* Begin, |
|||
CUTF8StringView
(
const char* String, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINEUnicodeConstIterator | begin () |
||
| ULANG_FORCEINLINE int32_t | ByteLen () |
||
| ULANG_FORCEINLINE bool | |||
| ULANG_FORCEINLINE bool | Contains
(
const CUTF8StringView& Text |
||
| ULANG_FORCEINLINE bool | ContainsCaseIndependent
(
const CUTF8StringView& Text |
||
| ULANG_FORCEINLINE const UTF8Char * | Data () |
Accessors. | |
| ULANG_FORCEINLINEUnicodeConstIterator | end () |
||
| ULANG_FORCEINLINE bool | EndsWith
(
const CUTF8StringView& Text |
||
| ULANG_FORCEINLINE int32_t | |||
| ULANG_FORCEINLINE int32_t | Find
(
const CUTF8StringView& Text |
||
| ULANG_FORCEINLINEUTF8Char | FirstByte () |
||
| ULANG_FORCEINLINESUniCodePointLength | |||
| ULANG_FORCEINLINE bool | InputByteIdxSpan
(
int32_t& InOutIdx, |
Convert index and span count that may be relative (negative) to the length of the string to direct index and span. | |
| ULANG_FORCEINLINE int32_t | InputByteIdxToDirectIdx
(
int32_t InIdx |
Convert index that may be relative (negative) to the length of the string to direct index and assert if out of bounds. | |
| ULANG_FORCEINLINE bool | IsEmpty () |
||
| bool | IsEqualCaseIndependent
(
const CUTF8StringView& Other |
||
| ULANG_FORCEINLINE bool | IsFilled () |
||
| ULANG_FORCEINLINEUTF8Char | LastByte () |
||
| ULANG_FORCEINLINEUTF8Char | NextByte
(
const CUTF8StringView& Enclosing |
||
| ULANG_FORCEINLINEUTF8Char | NextNextByte
(
const CUTF8StringView& Enclosing |
||
| ULANG_FORCEINLINEUTF8Char | PopFirstByte () |
||
| ULANG_FORCEINLINESUniCodePointLength | |||
| void | Reset () |
||
| ULANG_FORCEINLINEUTF8Char | SecondByte () |
||
| void | |||
| ULANG_FORCEINLINE bool | StartsWith
(
const CUTF8StringView& Text |
||
| SIdxRange | SubRange
(
const CUTF8StringView& SubView |
||
| ULANG_FORCEINLINECUTF8StringView | |||
| ULANG_FORCEINLINECUTF8StringView | SubView
(
int32_t ByteIndex, |
||
| ULANG_FORCEINLINECUTF8StringView | SubViewBegin
(
int32_t ByteCount |
||
| ULANG_FORCEINLINECUTF8StringView | SubViewEmpty
(
int32_t ByteIndex |
||
| ULANG_FORCEINLINECUTF8StringView | SubViewEnd
(
int32_t ByteCount |
||
| ULANG_FORCEINLINECUTF8StringView | SubViewTrimBegin
(
int32_t ByteIndex |
||
| ULANG_FORCEINLINECUTF8StringView | SubViewTrimEnd
(
int32_t ByteCount |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const CUTF8StringView& Other |
||
| bool | operator!=
(
const char* NullterminatedString |
||
| ULANG_FORCEINLINE const UTF8Char & | operator[]
(
int32_t ByteIndex |
||
| bool | operator<
(
const CUTF8StringView& Other |
||
| bool | operator<=
(
const CUTF8StringView& Other |
||
| bool | operator==
(
const char* NullTerminatedString |
||
| bool | operator==
(
const CUTF8StringView& Other |
||
| bool | operator>
(
const CUTF8StringView& Other |
||
| bool | operator>=
(
const CUTF8StringView& Other |
Classes
| Type | Name | Description | |
|---|---|---|---|
| UnicodeConstIterator |