Navigation
API > API/Runtime > API/Runtime/XmlParser
Xml Node representing a line in an xml file
| Name | FXmlNode |
| Type | class |
| Header File | /Engine/Source/Runtime/XmlParser/Public/XmlNode.h |
| Include Path | #include "XmlNode.h" |
Syntax
class FXmlNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FXmlNode () |
Default ctor, private for FXmlFile use only | XmlNode.h | |
| No copy ctor allowed | XmlNode.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FXmlNode() |
Dtor | XmlNode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Attributes | TArray< FXmlAttribute > | Attributes of this node | XmlNode.h | |
| Children | TArray< FXmlNode * > | The list of children nodes | XmlNode.h | |
| Content | FString | Content of the node | XmlNode.h | |
| NextNode | FXmlNode * | Next pointer | XmlNode.h | |
| Tag | FString | Tag of the node | XmlNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendChildNode
(
const FString& InTag, |
Adds a child node to this node | XmlNode.h | |
const FXmlNode * FindChildNode
(
const FString& InTag |
Finds the first child node that contains the specified tag | XmlNode.h | |
FXmlNode * FindChildNode
(
const FString& InTag |
Finds the first child node that contains the specified tag | XmlNode.h | |
FString GetAttribute
(
const FString& InTag |
Gets an attribute that corresponds with the passed-in tag | XmlNode.h | |
const TArray< FXmlAttribute > & GetAttributes() |
Gets all of the attributes in this node | XmlNode.h | |
const TArray< FXmlNode * > & GetChildrenNodes() |
Gets a list of children nodes | XmlNode.h | |
const FString & GetContent() |
Gets the value of the node | XmlNode.h | |
const FXmlNode * GetFirstChildNode() |
Gets the first child of this node which can be iterated into with GetNextNode | XmlNode.h | |
const FXmlNode * GetNextNode() |
Gets the next node in a list of nodes | XmlNode.h | |
const FString & GetTag() |
Gets the tag of the node | XmlNode.h | |
void SetAttributes
(
const TArray< FXmlAttribute >& InAttributes |
Sets the attributes of the node | XmlNode.h | |
void SetContent
(
const FString& InContent |
Sets the new value of the node | XmlNode.h |