Navigation
API > API/Developer > API/Developer/Localization
Contains all the info we need to represent files in the Portable Object format.
| Name | FPortableObjectFormatDOM |
| Type | class |
| Header File | /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h |
| Include Path | #include "PortableObjectFormatDOM.h" |
Syntax
class FPortableObjectFormatDOM
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPortableObjectFormatDOM
(
const FPortableObjectFormatDOM& |
Copying is not supported | PortableObjectFormatDOM.h | |
FPortableObjectFormatDOM
(
const FString& LanguageCode |
PortableObjectFormatDOM.h | ||
| PortableObjectFormatDOM.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Entries | FPortableObjectEntries | PortableObjectFormatDOM.h | ||
| Header | FPortableObjectHeader | PortableObjectFormatDOM.h | ||
| Language | FPortableObjectCulture | PortableObjectFormatDOM.h | ||
| ProjectName | FString | PortableObjectFormatDOM.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddEntry
(
const TSharedRef< FPortableObjectEntry > LocEntry |
Adds a translation entry to the Portable Object. | PortableObjectFormatDOM.h | |
void CreateNewHeader
(
const FString& InCopyrightNotice |
Creates a header entry based on the project and language info. | PortableObjectFormatDOM.h | |
TSharedPtr< FPortableObjectEntry > FindEntry
(
const TSharedRef< const FPortableObjectEntry > LocEntry |
Returns the Portable Object entry that matches the passed in entry or NULL if not found | PortableObjectFormatDOM.h | |
TSharedPtr< FPortableObjectEntry > FindEntry
(
const FString& MsgId, |
Returns the Portable Object file entry that matches the passed in parameters or NULL if not found | PortableObjectFormatDOM.h | |
| Parses Portable Object elements from a string. | PortableObjectFormatDOM.h | ||
FPortableObjectEntries::TConstIterator GetEntriesIterator() |
PortableObjectFormatDOM.h | ||
FString GetProjectName() |
Sets the project name from the Project-Id-Version header entry | PortableObjectFormatDOM.h | |
| Sets a header entry value. Must be called after CreateNewHeader. | PortableObjectFormatDOM.h | ||
| Sets the language. | PortableObjectFormatDOM.h | ||
void SetProjectName
(
const FString& ProjName |
Sets the project name that will appear in the Project-Id-Version header entry | PortableObjectFormatDOM.h | |
void SortEntries() |
PortableObjectFormatDOM.h | ||
| Creates a string representation of the Portable Object. | PortableObjectFormatDOM.h | ||
| PortableObjectFormatDOM.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPortableObjectFormatDOM & operator=
(
const FPortableObjectFormatDOM& |
PortableObjectFormatDOM.h |