Struct DataNode
A data node from a RAPID data string in a separated fasion.
Namespace: ABB.Robotics.Controllers.RapidDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public struct DataNode
Constructors
DataNode(List<DataNode>)
Initializes a new instance of the DataNode class.
Declaration
public DataNode(List<DataNode> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<DataNode> | list | The initial list of children. |
DataNode(String)
Initializes a new instance of the DataNode class.
Declaration
public DataNode(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to parse. |
Fields
Children
The list of children found in the parsed data at this level. This is mutually exclusive with Text.
Declaration
public List<DataNode> Children
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<DataNode> |
Value
The text of the current node. This is mutually exclusive with Children.
Declaration
public string Value
Field Value
Type | Description |
---|---|
System.String |
Methods
Accept(IDataNodeVisitor)
Starts a visitor structure walk operation.
Declaration
public void Accept(IDataNodeVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
IDataNodeVisitor | visitor | Visitor object. |