#include <ioxmlparser.h>
XML node/property object.
Static Public Member Functions | |
static MAXON_METHOD IoXmlNodeInterface * | Alloc (MAXON_SOURCE_LOCATION_DECLARATION) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (IoXmlNodeInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.ioxmlnode") | |
|
private |
|
static |
MAXON_METHOD const IoXmlNodeInterface* GetPrev | ( | ) | const |
@MAXON_ANNOTATION{refclass=false}
MAXON_METHOD const IoXmlNodeInterface* GetNext | ( | ) | const |
@MAXON_ANNOTATION{refclass=false}
MAXON_METHOD const IoXmlNodeInterface* GetUp | ( | ) | const |
@MAXON_ANNOTATION{refclass=false}
MAXON_METHOD const IoXmlNodeInterface* GetDown | ( | ) | const |
@MAXON_ANNOTATION{refclass=false}
MAXON_METHOD IoXmlNodeInterface* GetPrev | ( | ) |
Returns the previous object.
MAXON_METHOD IoXmlNodeInterface* GetNext | ( | ) |
Returns the next object.
MAXON_METHOD IoXmlNodeInterface* GetUp | ( | ) |
Returns the parent object.
MAXON_METHOD IoXmlNodeInterface* GetDown | ( | ) |
Returns the child object.
MAXON_METHOD const String& GetName | ( | ) | const |
Returns the XML name property.
MAXON_METHOD const String& GetValue | ( | ) | const |
Returns the XML value property.
MAXON_METHOD const String& GetAttributes | ( | ) | const |
Returns the XML attribute property.
MAXON_METHOD Result<void> GetInt | ( | Int32 & | val | ) | const |
Reads an XML 32-bit integer value.
[out] | val | The variable that will be filled with the XML value. |
MAXON_METHOD Result<void> GetUInt | ( | UInt32 & | val | ) | const |
Reads an XML 32-bit unsigned integer value.
[out] | val | The variable that will be filled with the XML value. |
MAXON_METHOD Result<void> GetInt | ( | Int64 & | val | ) | const |
Reads an XML 64-bit integer value.
[out] | val | The variable that will be filled with the XML value. |
MAXON_METHOD Result<void> GetUInt | ( | UInt64 & | val | ) | const |
Reads an XML 64-bit unsigned integer value.
[out] | val | The variable that will be filled with the XML value. |
MAXON_METHOD Result<void> GetFloat | ( | Float & | val | ) | const |
Reads an XML floating point value.
[out] | val | The variable that will be filled with the XML value. |
MAXON_METHOD IoXmlNodeInterface* AddChild | ( | const String & | strName | ) |
Add a child to the current node. The child will be added at the end of the child chain.
[in] | strName | Name to set. |
MAXON_METHOD void Remove | ( | ) |
Removes a node.
MAXON_METHOD void SetName | ( | const String & | strName | ) |
Sets the XML name property. Keep in mind that you need to follow XML naming rules: http://www.w3schools.com/xml/xml_elements.asp.
[in] | strName | Name to set. |
MAXON_METHOD void SetAttribute | ( | const String & | strAttribute | ) |
Sets the XML attribute property. See more here: http://www.w3schools.com/xml/xml_attributes.asp.
[in] | strAttribute | Attribute to set. |
MAXON_METHOD void SetValue | ( | const String & | strValue | ) |
Sets the XML value property.
[in] | strValue | Value to set. |
MAXON_METHOD void SetValue | ( | const Char * | strValue | ) |
Sets the XML value property.
[in] | strValue | C-String to set. |