![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StringTableCore.h>
Inheritance diagram for FStringTable:Static Public Member Functions | |
| static FStringTableRef | NewStringTable () |
Additional Inherited Members | |
Protected Member Functions inherited from TSharedFromThis< FStringTable, ESPMode::ThreadSafe > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Static Protected Member Functions inherited from TSharedFromThis< FStringTable, ESPMode::ThreadSafe > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
String table implementation. Holds Key->SourceString pairs of text.
| FStringTable::FStringTable | ( | ) |
Default constructor
| FStringTable::~FStringTable | ( | ) |
Destructor
Remove all meta-data associated with the given entry
Clear all entries from the table (including their meta-data)
| void FStringTable::EnumerateKeysAndSourceStrings | ( | const TFunctionRef< bool(const FTextKey &, const FString &)> & | InEnumerator | ) | const |
| void FStringTable::EnumerateMetaData | ( | const FTextKey & | InKey, |
| const TFunctionRef< bool(FName, const FString &)> & | InEnumerator | ||
| ) | const |
Enumerate all meta-data associated with the given entry. Return true from the enumerator to continue, or false to stop
| void FStringTable::EnumerateSourceStrings | ( | const TFunctionRef< bool(const FString &, const FString &)> & | InEnumerator | ) | const |
Enumerate all source strings in the table. Return true from the enumerator to continue, or false to stop
| bool FStringTable::ExportStrings | ( | const FString & | InFilename | ) | const |
Export the key, string, and meta-data information in this string table to a CSV file (does not export the namespace)
| FStringTableEntryConstPtr FStringTable::FindEntry | ( | const FTextKey & | InKey | ) | const |
Find the entry with the given key (if any)
| bool FStringTable::FindKey | ( | const FStringTableEntryConstRef & | InEntry, |
| FString & | OutKey | ||
| ) | const |
Given an entry, check to see if it exists in this table, and if so, get its key
| bool FStringTable::FindKey | ( | const FStringTableEntryConstRef & | InEntry, |
| FTextKey & | OutKey | ||
| ) | const |
Get the meta-data with the given ID associated with the given entry, or an empty string if not found
| FString FStringTable::GetNamespace | ( | ) | const |
| UStringTable * FStringTable::GetOwnerAsset | ( | ) | const |
Get the source string used by the given entry (if any)
| bool FStringTable::ImportStrings | ( | const FString & | InFilename | ) |
Import key, string, and meta-data information from a CSV file to this string table (does not import the namespace)
| bool FStringTable::IsInternal | ( | ) | const |
Is this string table considered internal (ie, shouldn't appear in pickers)
Set whether this string table is considered internal
| bool FStringTable::IsLoaded | ( | ) | const |
Has this string table been fully loaded yet? (used during asset loading)
Set whether this string table has been fully loaded
|
inlinestatic |
Create a new string table
Remove the meta-data with the given ID associated with the given entry
Remove the given entry (including its meta-data)
| void FStringTable::SetMetaData | ( | const FTextKey & | InKey, |
| const FName | InMetaDataId, | ||
| const FString & | InMetaDataValue | ||
| ) |
Set the meta-data with the given ID associated with the given entry
Set the namespace used by all entries in this string table
| void FStringTable::SetOwnerAsset | ( | UStringTable * | InOwnerAsset | ) |
Set the asset that owns this string table instance (if any)
Set the source string used by the given entry (will replace any existing data for that entry)