FXmlFile

Class representing an XML file

Windows
MacOS
Linux

References

Module

XmlParser

Header

/Engine/Source/Runtime/XmlParser/Public/XmlFile.h

Include

#include "XmlFile.h"

Syntax

class FXmlFile

Remarks

Class representing an XML file

Constructors

Name Description

Public function

FXmlFile()

Constructs the file without a path

Public function

FXmlFile

(
    const FXmlFile& rhs
)

Public function

FXmlFile

(
    const FString& InFile,
    EConstructMethod::Type ConstructMet...
)

Constructs the file with the passed path.

Destructors

Name Description

Public function

~FXmlFile()

Functions

Name Description

Public function

void

 

Clear()

Clears the file of all internals.

Public function Const

FString

 

GetLastError()

Gets the last error message from the class

Public function Const

const FXmlNo...

 

GetRootNode()

Returns the root node of the loaded file.

Public function

FXmlNode ...

 

GetRootNode()

Returns the root node of the loaded file.

Public function Const

bool

 

IsValid()

Checks to see if a file is loaded

Public function

bool

 

LoadFile

(
    const FString& Path,
    EConstructMethod::Type ConstructMet...
)

Loads the file with the passed path.

Public function

bool

 

Save

(
    const FString& Path
)

Write to disk, UTF-16 format only at the moment

Operators

Name Description

Public function

FXmlFile &

 

operator=

(
    const FXmlFile& rhs
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss