Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization
Inheritance Hierarchy
- TSharedFromThis
- FStringTable
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Internationalization/StringTableCore.h |
Include | #include "Internationalization/StringTableCore.h" |
Syntax
class FStringTable : public TSharedFromThis< FStringTable, ESPMode::ThreadSafe >
Remarks
String table implementation. Holds Key->SourceString pairs of text.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FStringTable () |
Default constructor |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ClearMetaData
(
const int32 InSlack |
Clear all meta-data from the table |
![]() |
void | ClearMetaData
(
const FTextKey& InKey |
Remove all meta-data associated with the given entry |
![]() |
void | ClearSourceStrings
(
const int32 InSlack |
Clear all entries from the table (including their meta-data) |
![]() ![]() |
void | EnumerateKeysAndSourceStrings
(
const TFunctionRef< bool(const FTextKey&, const FString&)>& InEnumerator |
|
![]() ![]() |
void | EnumerateMetaData
(
const FTextKey& InKey, |
Enumerate all meta-data associated with the given entry. |
![]() ![]() |
void | EnumerateSourceStrings
(
const TFunctionRef< bool(const FString&, const FString&)>& InEnumerator |
Enumerate all source strings in the table. |
![]() ![]() |
bool | ExportStrings
(
const FString& InFilename |
Export the key, string, and meta-data information in this string table to a CSV file (does not export the namespace) |
![]() ![]() |
FStringTableEntryConstPtr | Find the entry with the given key (if any) | |
![]() ![]() |
bool | Given an entry, check to see if it exists in this table, and if so, get its key | |
![]() ![]() |
bool | Given an entry, check to see if it exists in this table, and if so, get its key | |
![]() ![]() |
FString | GetMetaData
(
const FTextKey& InKey, |
Get the meta-data with the given ID associated with the given entry, or an empty string if not found |
![]() ![]() |
FString | GetNamespace () |
|
![]() ![]() |
UStringTable * | ||
![]() ![]() |
bool | GetSourceString
(
const FTextKey& InKey, |
Get the source string used by the given entry (if any) |
![]() |
bool | ImportStrings
(
const FString& InFilename |
Import key, string, and meta-data information from a CSV file to this string table (does not import the namespace) |
![]() |
void | IsLoaded
(
const bool bInIsLoaded |
Set whether this string table has been fully loaded yet |
![]() ![]() |
bool | IsLoaded () |
Has this string table been fully loaded yet? (used during asset loading) |
![]() ![]() |
FStringTableRef | Create a new string table | |
![]() |
void | RemoveMetaData
(
const FTextKey& InKey, |
Remove the meta-data with the given ID associated with the given entry |
![]() |
void | RemoveSourceString
(
const FTextKey& InKey |
Remove the given entry (including its meta-data) |
![]() |
void | Serialize this string table to/from an archive | |
![]() |
void | SetMetaData
(
const FTextKey& InKey, |
Set the meta-data with the given ID associated with the given entry |
![]() |
void | SetNamespace
(
const FString& InNamespace |
Set the namespace used by all entries in this string table |
![]() |
void | SetOwnerAsset
(
UStringTable* InOwnerAsset |
Set the asset that owns this string table instance (if any) |
![]() |
void | SetSourceString
(
const FTextKey& InKey, |
Set the source string used by the given entry (will replace any existing data for that entry) |
Typedefs
Name | Description |
---|---|
FMetaDataMap | Mapping between the text key and its meta-data map |