Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Internationalization/TextKey.h |
Include |
#include "Internationalization/TextKey.h" |
class FTextKey
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.
Name | Description | ||
---|---|---|---|
|
CompactDataStructures() |
Compact any slack within the internal table |
|
|
const TCHAR ... |
GetChars() |
Get the underlying chars buffer this text key represents |
|
IsEmpty() |
Is this text key empty? |
|
|
Reset() |
Reset this text key to be empty |
|
|
SerializeAsString ( |
Serialize this text key as if it were an FString |
|
|
SerializeAsString ( |
Serialize this text key as if it were an FString |
|
|
SerializeDiscardHash ( |
Serialize this text key including its hash value, discarding the hash on load (to upgrade from an older hashing algorithm) |
|
|
SerializeDiscardHash ( |
Serialize this text key including its hash value, discarding the hash on load (to upgrade from an older hashing algorithm) |
|
|
SerializeWithHash ( |
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) |
|
|
SerializeWithHash ( |
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) |
|
|
TearDown() |