![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <XmlNode.h>
Public Member Functions | |
| XMLPARSER_API const FXmlNode * | GetNextNode () const |
| XMLPARSER_API const TArray< FXmlNode * > & | GetChildrenNodes () const |
| XMLPARSER_API const FXmlNode * | GetFirstChildNode () const |
| XMLPARSER_API const FXmlNode * | FindChildNode (const FString &InTag) const |
| XMLPARSER_API FXmlNode * | FindChildNode (const FString &InTag) |
| XMLPARSER_API const FString & | GetTag () const |
| XMLPARSER_API const FString & | GetContent () const |
| XMLPARSER_API void | SetContent (const FString &InContent) |
| XMLPARSER_API void | SetAttributes (const TArray< FXmlAttribute > &InAttributes) |
| const TArray< FXmlAttribute > & | GetAttributes () const |
| XMLPARSER_API FString | GetAttribute (const FString &InTag) const |
| XMLPARSER_API void | AppendChildNode (const FString &InTag, const FString &InContent=FString(), const TArray< FXmlAttribute > &InAttributes=TArray< FXmlAttribute >()) |
Friends | |
| class | FXmlFile |
Xml Node representing a line in an xml file
| void FXmlNode::AppendChildNode | ( | const FString & | InTag, |
| const FString & | InContent = FString(), |
||
| const TArray< FXmlAttribute > & | InAttributes = TArray<FXmlAttribute>() |
||
| ) |
Adds a child node to this node
| InTag | The tag of the child node |
| InContent | (optional) The content of the child node |
| InAttributes | (optional) An array of attributes of the child node |
| FXmlNode * FXmlNode::FindChildNode | ( | const FString & | InTag | ) |
Finds the first child node that contains the specified tag
| const FXmlNode * FXmlNode::FindChildNode | ( | const FString & | InTag | ) | const |
Finds the first child node that contains the specified tag
| FString FXmlNode::GetAttribute | ( | const FString & | InTag | ) | const |
Gets an attribute that corresponds with the passed-in tag
|
inline |
Gets all of the attributes in this node
| const FString & FXmlNode::GetContent | ( | ) | const |
Gets the value of the node
| const FXmlNode * FXmlNode::GetFirstChildNode | ( | ) | const |
Gets the first child of this node which can be iterated into with GetNextNode
| const FXmlNode * FXmlNode::GetNextNode | ( | ) | const |
Gets the next node in a list of nodes
| const FString & FXmlNode::GetTag | ( | ) | const |
Gets the tag of the node
| void FXmlNode::SetAttributes | ( | const TArray< FXmlAttribute > & | InAttributes | ) |
Sets the attributes of the node
| void FXmlNode::SetContent | ( | const FString & | InContent | ) |
Sets the new value of the node