185 return !(*
this ==
Other);
210 return !(*
this >
Other);
215 return !(*
this <
Other);
289 ULANG_ASSERTF(ByteCount >= 0,
"ByteCount must be non-negative.");
359 size_t _CurrentByteLen;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ULANG_FORCEINLINE
Definition Common.h:188
#define ULANG_ASSERTF(expr, format,...)
Definition Common.h:290
static ULANG_FORCEINLINE uint32_t Generate(const uint8_t *Begin, const uint8_t *End, uint32_t PrevCRC=0)
Definition CRC.h:46
static ULANG_FORCEINLINE constexpr T Clamp(const T X, const T Min, const T Max)
Clamps X to be between Min and Max, inclusive.
Definition MathUtils.h:33
static ULANG_FORCEINLINE constexpr T Min(const T A, const T B)
Returns lower value in a generic way.
Definition MathUtils.h:26
Definition UTF8StringView.h:320
ULANG_FORCEINLINE UnicodeConstIterator & operator++()
Definition UTF8StringView.h:336
ULANG_FORCEINLINE UnicodeConstIterator(const UTF8Char *CurrentByte, size_t CurrentByteLen)
Definition UTF8StringView.h:322
ULANG_FORCEINLINE const UTF8Char * CurrentByte() const
Definition UTF8StringView.h:348
ULANG_FORCEINLINE bool operator==(const UnicodeConstIterator &Other) const
Definition UTF8StringView.h:346
ULANG_FORCEINLINE UniCodePoint operator*() const
Definition UTF8StringView.h:344
ULANG_FORCEINLINE UnicodeConstIterator operator++(int)
Definition UTF8StringView.h:329
ULANG_FORCEINLINE bool operator!=(const UnicodeConstIterator &Other) const
Definition UTF8StringView.h:347
Definition UTF8StringView.h:15
ULANG_FORCEINLINE CUTF8StringView SubView(int32_t ByteIndex, int32_t ByteCount=INT32_MAX) const
Definition UTF8StringView.h:287
ULANG_FORCEINLINE bool EndsWith(const CUTF8StringView &Text) const
Definition UTF8StringView.h:91
bool operator<(const CUTF8StringView &Other) const
Definition UTF8StringView.h:188
ULANG_FORCEINLINE UTF8Char SecondByte() const
Definition UTF8StringView.h:53
ULANG_FORCEINLINE SUniCodePointLength PopFirstCodePoint()
Definition UTF8StringView.h:253
void Reset()
Definition UTF8StringView.h:30
ULANG_FORCEINLINE UTF8Char NextNextByte(const CUTF8StringView &Enclosing) const
Definition UTF8StringView.h:71
ULANG_FORCEINLINE bool ContainsCaseIndependent(const CUTF8StringView &Text) const
Definition UTF8StringView.h:151
bool operator>(const CUTF8StringView &Other) const
Definition UTF8StringView.h:198
CUTF8StringView(ENoInit)
Definition UTF8StringView.h:25
const UTF8Char * _Begin
Points to first byte.
Definition UTF8StringView.h:19
CUTF8StringView()
Definition UTF8StringView.h:24
bool operator==(const char *NullTerminatedString) const
Definition UTF8StringView.h:218
ULANG_FORCEINLINE CUTF8StringView SubViewTrimBegin(int32_t ByteIndex) const
Definition UTF8StringView.h:275
ULANG_FORCEINLINE UTF8Char FirstByte() const
Definition UTF8StringView.h:47
ULANG_FORCEINLINE int32_t InputByteIdxToDirectIdx(int32_t InIdx) const
Definition UTF8StringView.h:372
ULANG_FORCEINLINE const UTF8Char * Data() const
Definition UTF8StringView.h:34
ULANG_FORCEINLINE CUTF8StringView SubViewEmpty(int32_t ByteIndex) const
Definition UTF8StringView.h:303
ULANG_FORCEINLINE CUTF8StringView SubViewEnd(int32_t ByteCount) const
Definition UTF8StringView.h:269
ULANG_FORCEINLINE int32_t Find(UTF8Char Char) const
Definition UTF8StringView.h:105
bool operator>=(const CUTF8StringView &Other) const
Definition UTF8StringView.h:213
bool IsEqualCaseIndependent(const CUTF8StringView &Other) const
Definition UTF8StringView.h:233
bool operator==(const CUTF8StringView &Other) const
Definition UTF8StringView.h:173
ULANG_FORCEINLINE bool StartsWith(const CUTF8StringView &Text) const
Definition UTF8StringView.h:82
ULANG_FORCEINLINE bool InputByteIdxSpan(int32_t &InOutIdx, int32_t &InOutSpan) const
Definition UTF8StringView.h:392
ULANG_FORCEINLINE UTF8Char PopFirstByte()
Definition UTF8StringView.h:246
ULANG_FORCEINLINE SUniCodePointLength FirstCodePoint() const
Definition UTF8StringView.h:77
ULANG_FORCEINLINE UTF8Char LastByte() const
Definition UTF8StringView.h:59
CUTF8StringView(const char *String, size_t ByteLen)
Definition UTF8StringView.h:28
CUTF8StringView(const UTF8Char *Begin, const UTF8Char *End)
Definition UTF8StringView.h:26
ULANG_FORCEINLINE bool Contains(const CUTF8StringView &Text) const
Definition UTF8StringView.h:146
ULANG_FORCEINLINE CUTF8StringView SubViewTrimEnd(int32_t ByteCount) const
Definition UTF8StringView.h:281
bool operator<=(const CUTF8StringView &Other) const
Definition UTF8StringView.h:208
const UTF8Char * _End
Points to the byte after the last byte.
Definition UTF8StringView.h:20
CUTF8StringView(const char *NullterminatedString)
Definition UTF8StringView.h:27
ULANG_FORCEINLINE bool IsFilled() const
Definition UTF8StringView.h:37
bool operator!=(const char *NullterminatedString) const
Definition UTF8StringView.h:228
ULANG_FORCEINLINE int32_t Find(const CUTF8StringView &Text) const
Definition UTF8StringView.h:117
bool operator!=(const CUTF8StringView &Other) const
Definition UTF8StringView.h:183
ULANG_FORCEINLINE UnicodeConstIterator begin() const
Definition UTF8StringView.h:362
SIdxRange SubRange(const CUTF8StringView &SubView) const
Definition UTF8StringView.h:311
ULANG_FORCEINLINE bool IsEmpty() const
Definition UTF8StringView.h:36
ULANG_FORCEINLINE const UTF8Char & operator[](int32_t ByteIndex) const
Definition UTF8StringView.h:40
ULANG_FORCEINLINE UTF8Char NextByte(const CUTF8StringView &Enclosing) const
Definition UTF8StringView.h:65
ULANG_FORCEINLINE UnicodeConstIterator end() const
Definition UTF8StringView.h:363
void Set(const UTF8Char *Begin, const UTF8Char *End)
Definition UTF8StringView.h:31
ULANG_FORCEINLINE CUTF8StringView SubView(const SIdxRange &Range) const
Definition UTF8StringView.h:296
ULANG_FORCEINLINE int32_t ByteLen() const
Definition UTF8StringView.h:35
ULANG_FORCEINLINE CUTF8StringView SubViewBegin(int32_t ByteCount) const
Definition UTF8StringView.h:263
ULANG_FORCEINLINE bool Contains(UTF8Char Char) const
Definition UTF8StringView.h:141
static ULANG_FORCEINLINE UTF8Char ToLower_ASCII(const UTF8Char Ch)
Definition Unicode.h:53
static SUniCodePointLength DecodeUTF8(const UTF8Char *Text, size_t TextByteLength)
Definition Unicode.h:79
Definition UTF8StringBuilder.h:24
Definition UTF8String.h:21
Definition VVMEngineEnvironment.h:23
@ IndexNone
Definition Common.h:381
ENoInit
Enum used in constructors to indicate they should not initialize anything.
Definition Common.h:375
uint8_t UTF8Char
UTF-8 octet.
Definition Unicode.h:20
uint32_t UniCodePoint
UTF-32 character / code point.
Definition Unicode.h:23
ULANG_FORCEINLINE uint32_t GetTypeHash(const TArray< T > Array)
Definition Array.h:2132
Pair of code point and its length in bytes in UTF-8.
Definition Unicode.h:27
UniCodePoint _CodePoint
Definition Unicode.h:28
uint32_t _ByteLengthUTF8
Definition Unicode.h:29