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