-
首页
-
C4D R23.110 C++ SDK
IoXmlNodeInterface Class Reference
IO
#include <ioxmlparser.h>
详细描述
XML node/property object.
成员函数文档编制
◆
MAXON_INTERFACE_NONVIRTUAL()
◆
Alloc()
◆
GetPrev()
[1/2]
@MAXON_ANNOTATION{refclass=false}
◆
GetNext()
[1/2]
@MAXON_ANNOTATION{refclass=false}
◆
GetUp()
[1/2]
@MAXON_ANNOTATION{refclass=false}
◆
GetDown()
[1/2]
@MAXON_ANNOTATION{refclass=false}
◆
GetPrev()
[2/2]
Returns the previous object.
-
返回
-
Previous object or nullptr if non-existent.
◆
GetNext()
[2/2]
Returns the next object.
-
返回
-
Next object or nullptr if non-existent.
◆
GetUp()
[2/2]
Returns the parent object.
-
返回
-
Parent object or nullptr if non-existent.
◆
GetDown()
[2/2]
Returns the child object.
-
返回
-
Child object or nullptr if non-existent.
◆
GetName()
Returns the XML name property.
-
返回
-
Name of this node.
◆
GetValue()
Returns the XML value property.
-
返回
-
Value of this node.
◆
GetAttributes()
Returns the XML attribute property.
-
返回
-
Attribute of this node.
◆
GetInt()
[1/2]
Reads an XML 32-bit integer value.
-
参数
-
[out]
|
val
|
The variable that will be filled with the XML value.
|
-
返回
-
True if the value was properly defined.
◆
GetUInt()
[1/2]
Reads an XML 32-bit unsigned integer value.
-
参数
-
[out]
|
val
|
The variable that will be filled with the XML value.
|
-
返回
-
True if the value was properly defined.
◆
GetInt()
[2/2]
Reads an XML 64-bit integer value.
-
参数
-
[out]
|
val
|
The variable that will be filled with the XML value.
|
-
返回
-
True if the value was properly defined.
◆
GetUInt()
[2/2]
Reads an XML 64-bit unsigned integer value.
-
参数
-
[out]
|
val
|
The variable that will be filled with the XML value.
|
-
返回
-
True if the value was properly defined.
◆
GetFloat()
Reads an XML floating point value.
-
参数
-
[out]
|
val
|
The variable that will be filled with the XML value.
|
-
返回
-
True if the value was properly defined.
◆
AddChild()
Add a child to the current node. The child will be added at the end of the child chain.
-
参数
-
[in]
|
strName
|
Name to set.
|
-
返回
-
The new child node or nullptr in case of not enough memory.
◆
Remove()
Removes a node.
◆
SetName()
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.
|
◆
SetAttribute()
Sets the XML attribute property. See more here:
http://www.w3schools.com/xml/xml_attributes.asp
.
-
参数
-
[in]
|
strAttribute
|
Attribute to set.
|
◆
SetValue()
[1/2]
Sets the XML value property.
-
参数
-
[in]
|
strValue
|
Value to set.
|
◆
SetValue()
[2/2]
Sets the XML value property.
-
参数
-
[in]
|
strValue
|
C-String to set.
|