UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TextChar.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6
7class FString;
8
15{
16public:
21
25 [[nodiscard]] static CORE_API bool ConvertCodepointToString(const UTF32CHAR Codepoint, FString& OutString);
26
30 [[nodiscard]] static CORE_API bool AppendCodepointToString(const UTF32CHAR Codepoint, FString& OutString);
31
35 [[nodiscard]] static CORE_API bool IsAlpha(const UTF32CHAR Codepoint);
36
40 [[nodiscard]] static CORE_API bool IsGraph(const UTF32CHAR Codepoint);
41
45 [[nodiscard]] static CORE_API bool IsPrint(const UTF32CHAR Codepoint);
46
50 [[nodiscard]] static CORE_API bool IsPunct(const UTF32CHAR Codepoint);
51
55 [[nodiscard]] static CORE_API bool IsAlnum(const UTF32CHAR Codepoint);
56
60 [[nodiscard]] static CORE_API bool IsDigit(const UTF32CHAR Codepoint);
61
65 [[nodiscard]] static CORE_API bool IsHexDigit(const UTF32CHAR Codepoint);
66
70 [[nodiscard]] static CORE_API bool IsControl(const UTF32CHAR Codepoint);
71
76 [[nodiscard]] static CORE_API bool IsWhitespace(const UTF32CHAR Codepoint);
77
81 [[nodiscard]] static CORE_API bool IsUpper(const UTF32CHAR Codepoint);
82
86 [[nodiscard]] static CORE_API bool IsLower(const UTF32CHAR Codepoint);
87
91 [[nodiscard]] static CORE_API UTF32CHAR ToLower(const UTF32CHAR Codepoint);
92
96 [[nodiscard]] static CORE_API UTF32CHAR ToUpper(const UTF32CHAR Codepoint);
97};
FPlatformTypes::UTF32CHAR UTF32CHAR
A 32-bit character containing a UTF32 (Unicode, 32-bit, fixed-width) code unit.
Definition Platform.h:1143
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition TextChar.h:15
static CORE_API bool IsDigit(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:74
static CORE_API UTF32CHAR GetCodepoint(const TCHAR *Buffer, int32 *OutNumTCHARInCodepoint=nullptr)
Definition Text.cpp:2130
static CORE_API bool IsLower(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:99
static CORE_API bool IsPrint(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:59
static CORE_API bool IsGraph(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:54
static CORE_API bool IsWhitespace(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:89
static CORE_API bool IsControl(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:84
static CORE_API bool ConvertCodepointToString(const UTF32CHAR Codepoint, FString &OutString)
Definition Text.cpp:2164
static CORE_API bool IsPunct(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:64
static CORE_API bool IsAlnum(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:69
static CORE_API bool IsHexDigit(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:79
static CORE_API bool IsUpper(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:94
static CORE_API bool AppendCodepointToString(const UTF32CHAR Codepoint, FString &OutString)
Definition Text.cpp:2170
static CORE_API bool IsAlpha(const UTF32CHAR Codepoint)
Definition LegacyText.cpp:49