FPortableObjectHeader

Class that stores and manipulates PO and POT file header info.

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
  FPortableObjectHeader ()  

Functions

Type Name Description
void Clear () Clears the header entries.
bool FromLocPOEntry ( const TSharedRef< const FPortableOb... ) 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 HasEntry ( const FString& EntryKey ) Checks if a header entry exists with the given key
void SetEntryValue ( const FString& EntryKey, const FString& EntryValue ) Sets a header entry value
FString ToString () Creates a string representation of the Portable Object header.
void UpdateTimeStamp () Puts the current time into POT-Creation-Date and PO-Revision-Date entries

Typedefs

Name Description
FPOHeaderData  
FPOHeaderEntry  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library