UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::CUnicode Class Reference

Helper class providing useful unicode functionality. More...

#include <Unicode.h>

Static Public Member Functions

static ULANG_FORCEINLINE bool IsWhitespaceASCII (const UTF8Char Ch)
 
static ULANG_FORCEINLINE bool IsDigitASCII (const UTF8Char Ch)
 
static ULANG_FORCEINLINE bool IsUpperASCII (const UTF8Char Ch)
 
static ULANG_FORCEINLINE bool IsLowerASCII (const UTF8Char Ch)
 
static ULANG_FORCEINLINE bool IsAlphaASCII (const UTF8Char Ch)
 
static ULANG_FORCEINLINE UTF8Char ToLower_ASCII (const UTF8Char Ch)
 
static ULANG_FORCEINLINE UTF8Char ToUpper_ASCII (const UTF8Char Ch)
 
static SUniCodePointLength DecodeUTF8 (const UTF8Char *Text, size_t TextByteLength)
 
static UE_API SUTF8CodePoint EncodeUTF8 (UniCodePoint CodePoint)
 
static bool IsIdentifierStart (UniCodePoint CodePoint)
 uLang-specific detection of identifier code points
 
static bool IsIdentifierTail (UniCodePoint CodePoint)
 Identifier continuation/middle?
 

Static Public Attributes

static UE_API const bool _ASCIITable_Whitespace [BYTE_RANGE]
 
static UE_API const bool _ASCIITable_Identifier [BYTE_RANGE]
 

Detailed Description

Helper class providing useful unicode functionality.

Member Function Documentation

◆ DecodeUTF8()

ULANG_FORCEINLINE SUniCodePointLength uLang::CUnicode::DecodeUTF8 ( const UTF8Char Text,
size_t  TextByteLength 
)
static

◆ EncodeUTF8()

SUTF8CodePoint uLang::CUnicode::EncodeUTF8 ( UniCodePoint  CodePoint)
static

◆ IsAlphaASCII()

static ULANG_FORCEINLINE bool uLang::CUnicode::IsAlphaASCII ( const UTF8Char  Ch)
inlinestatic

◆ IsDigitASCII()

static ULANG_FORCEINLINE bool uLang::CUnicode::IsDigitASCII ( const UTF8Char  Ch)
inlinestatic

◆ IsIdentifierStart()

ULANG_FORCEINLINE bool uLang::CUnicode::IsIdentifierStart ( UniCodePoint  CodePoint)
static

uLang-specific detection of identifier code points

Identifier start?

◆ IsIdentifierTail()

ULANG_FORCEINLINE bool uLang::CUnicode::IsIdentifierTail ( UniCodePoint  CodePoint)
static

Identifier continuation/middle?

◆ IsLowerASCII()

static ULANG_FORCEINLINE bool uLang::CUnicode::IsLowerASCII ( const UTF8Char  Ch)
inlinestatic

◆ IsUpperASCII()

static ULANG_FORCEINLINE bool uLang::CUnicode::IsUpperASCII ( const UTF8Char  Ch)
inlinestatic

◆ IsWhitespaceASCII()

static ULANG_FORCEINLINE bool uLang::CUnicode::IsWhitespaceASCII ( const UTF8Char  Ch)
inlinestatic

◆ ToLower_ASCII()

static ULANG_FORCEINLINE UTF8Char uLang::CUnicode::ToLower_ASCII ( const UTF8Char  Ch)
inlinestatic

◆ ToUpper_ASCII()

static ULANG_FORCEINLINE UTF8Char uLang::CUnicode::ToUpper_ASCII ( const UTF8Char  Ch)
inlinestatic

Member Data Documentation

◆ _ASCIITable_Identifier

const bool uLang::CUnicode::_ASCIITable_Identifier
static
Initial value:
=
{
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
true, true, true, true, true, true, true, true, true, true,false,false,false,false,false,false,
false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true,false,false,false,false, true,
false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true, true,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
}

◆ _ASCIITable_Whitespace

const bool uLang::CUnicode::_ASCIITable_Whitespace
static
Initial value:
=
{
false,false,false,false,false,false,false,false,false, true, true, true, true, true,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
}

The documentation for this class was generated from the following files: