Navigation
API > API/Developer > API/Developer/SharedSettingsWidgets
This is a utility class used to update individual sections of an XML manifest or .plist in raw string form. It is formatting sensitive and will fail if things are formatted in an unexpected manner. This is a stopgap measure, and will be replaced using a proper XML parser when it is ready for use.
| Name | FManifestUpdateHelper |
| Type | class |
| Header File | /Engine/Source/Developer/SharedSettingsWidgets/Public/ManifestUpdateHelper.h |
| Include Path | #include "ManifestUpdateHelper.h" |
Syntax
class FManifestUpdateHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FManifestUpdateHelper
(
const FString& InFilename |
ManifestUpdateHelper.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bManifestDirty | bool | ManifestUpdateHelper.h | ||
| FirstErrorMessage | FText | ManifestUpdateHelper.h | ||
| ManifestString | FString | ManifestUpdateHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Finalize
(
const FString& TargetFilename, |
Finalizes the updater, and writes it back to the file, returning true if successful, and false if there were any errors. | ManifestUpdateHelper.h | |
FText GetFirstErrorMessage() |
Returns the first error message. | ManifestUpdateHelper.h | |
bool HasKey
(
const FString& MatchPrefix |
Checks if a key exists matching MatchPrefix. | ManifestUpdateHelper.h | |
void ReplaceKey
(
const FString& MatchPrefix, |
Replace a key in the manifest (between MatchPrefix and MatchSuffix) with NewInfix. | ManifestUpdateHelper.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool ReplaceStringPortion
(
FString& InOutString, |
Replaces the text in InOutString between MatchPrefix and MatchSuffix with NewInfix, returning true if it was found. | ManifestUpdateHelper.h |