UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TextCache.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Map.h"
7#include "HAL/Platform.h"
10
11class FTextId;
12
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition TextCache.h:15
static FTextCache & Get()
Definition TextCache.cpp:13
static void TearDown()
Definition TextCache.cpp:18
FText FindOrCache(const TCHAR *InTextLiteral, const FTextId &InTextId)
Definition TextCache.cpp:23
FTextCache(const FTextCache &)=delete
FTextCache & operator=(const FTextCache &)=delete
FTextCache()=default
void RemoveCache(const FTextId &InTextId)
Definition TextCache.cpp:98
Definition TextKey.h:163
Definition Text.h:385
Definition ArrayView.h:139
Definition StripedMap.h:780