Navigation
Unreal Engine C++ API Reference > Developer > Localization
References
Module | Localization |
Header | /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h |
Include | #include "PortableObjectFormatDOM.h" |
Syntax
class FPortableObjectHeader
Remarks
Class that stores and manipulates PO and POT file header info.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FString > | Comments | Stores the header comment block |
![]() |
FPOHeaderData | HeaderEntries | Stores all the header key/value pairs |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Clear () |
Clears the header entries. |
![]() |
bool | FromLocPOEntry
(
const TSharedRef< const FPortableObjectEntry > LocEntry |
Parses out header info from a FPortableObjectEntry with an empty ID. |
![]() |
bool | FromString
(
const FString& InStr |
Parses out header key/value pair entries. |
![]() ![]() |
FString | GetEntryValue
(
const FString& EntryKey |
Gets the header entry value for the given key or the empty string if the key does not exist |
![]() ![]() |
bool | Checks if a header entry exists with the given key | |
![]() |
void | SetEntryValue
(
const FString& EntryKey, |
Sets a header entry value |
![]() ![]() |
FString | ToString () |
Creates a string representation of the Portable Object header. |
![]() |
void | Puts the current time into POT-Creation-Date and PO-Revision-Date entries |
Typedefs
Name | Description |
---|---|
FPOHeaderData | |
FPOHeaderEntry |