![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextKey.h>
Public Member Functions | |
| FTextKey ()=default | |
| CORE_API | FTextKey (FStringView InStr) |
| CORE_API | FTextKey (const TCHAR *InStr) |
| CORE_API | FTextKey (const FString &InStr) |
| CORE_API const TCHAR * | GetChars () const |
| CORE_API FString | ToString () const |
| CORE_API void | ToString (FString &Out) const |
| CORE_API void | ToString (FStringBuilderBase &Out) const |
| CORE_API void | AppendString (FString &Out) const |
| CORE_API void | AppendString (FStringBuilderBase &Out) const |
| CORE_API void | SerializeAsString (FArchive &Ar) |
| CORE_API void | SerializeWithHash (FArchive &Ar) |
| CORE_API void | SerializeDiscardHash (FArchive &Ar) |
| CORE_API void | SerializeAsString (FStructuredArchiveSlot Slot) |
| CORE_API void | SerializeWithHash (FStructuredArchiveSlot Slot) |
| CORE_API void | SerializeDiscardHash (FStructuredArchiveSlot Slot) |
| UE_FORCEINLINE_HINT bool | IsEmpty () const |
| void | Reset () |
Static Public Member Functions | |
| static CORE_API void | CompactDataStructures () |
| static CORE_API void | TearDown () |
Friends | |
| class | FTextKeyState |
| UE_FORCEINLINE_HINT bool | operator== (const FTextKey &A, const FTextKey &B) |
| UE_FORCEINLINE_HINT bool | operator!= (const FTextKey &A, const FTextKey &B) |
| CORE_API uint32 | GetTypeHash (const FTextKey &A) |
Optimized representation of a case-sensitive string, as used by localization keys. This references an entry within a internal table to avoid memory duplication, as well as offering optimized comparison and hashing performance.
|
default |
| FTextKey::FTextKey | ( | FStringView | InStr | ) |
| FTextKey::FTextKey | ( | const TCHAR * | InStr | ) |
| FTextKey::FTextKey | ( | const FString & | InStr | ) |
| void FTextKey::AppendString | ( | FString & | Out | ) | const |
| void FTextKey::AppendString | ( | FStringBuilderBase & | Out | ) | const |
|
static |
Compact any slack within the internal table
| const TCHAR * FTextKey::GetChars | ( | ) | const |
Get the underlying chars buffer this text key represents
|
inline |
Is this text key empty?
|
inline |
Reset this text key to be empty
| void FTextKey::SerializeAsString | ( | FStructuredArchiveSlot | Slot | ) |
Serialize this text key as if it were an FString
Serialize this text key including its hash value, discarding the hash on load (to upgrade from an older hashing algorithm)
| void FTextKey::SerializeDiscardHash | ( | FStructuredArchiveSlot | Slot | ) |
Serialize this text key including its hash value, discarding the hash on load (to upgrade from an older hashing algorithm)
Serialize this text key including its hash value (this method is sensitive to hashing algorithm changes, so only use it for generated files that can be rebuilt from another source)
| void FTextKey::SerializeWithHash | ( | FStructuredArchiveSlot | Slot | ) |
Serialize this text key including its hash value (this method is sensitive to hashing algorithm changes, so only use it for generated files that can be rebuilt from another source)
| FString FTextKey::ToString | ( | ) | const |
Convert this text key back to its string representation
| void FTextKey::ToString | ( | FString & | Out | ) | const |
| void FTextKey::ToString | ( | FStringBuilderBase & | Out | ) | const |
|
friend |
|
friend |
Compare for inequality
|
friend |
Compare for equality