UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CharRangeList.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "CharRangeList.generated.h"
7
8
11USTRUCT()
13{
15
16
18 bool InitializeFromString(const FString& InDefinitionString, int32 InFromIndex, int32* OutLastIndex);
20 FString ToString() const;
21
24 UPROPERTY(EditAnywhere, Category = "Char Range")
26
29 UPROPERTY(EditAnywhere, Category = "Char Range")
31};
32
34USTRUCT()
36{
38
39
49 SLATE_API bool InitializeFromString(const FString& InDefinitionString);
51 SLATE_API FString ToString() const;
52
54 SLATE_API void Empty();
55
57 SLATE_API bool IsEmpty() const;
58
60 SLATE_API bool IsCharIncluded(TCHAR InChar) const;
62 SLATE_API bool AreAllCharsIncluded(const FString& InString) const;
64 SLATE_API TSet<TCHAR> FindCharsNotIncluded(const FString& InString) const;
65
66 UPROPERTY(EditAnywhere, Category = "Char Range List")
68};
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
@ Char
Character type.
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
uint16_t uint16
Definition binka_ue_file_header.h:7
Definition Array.h:670
Definition CharRangeList.h:36
Definition CharRangeList.h:13