WITec |
public class WITecTreeNode
The WITecTreeNode type exposes the following members.
| Name | Description | |
|---|---|---|
| WITecTreeNode | Creates a new instance of the WITecTreeNode class with the specified name, and reads all child nodes and data of this node from the provided stream. |
| Name | Description | |
|---|---|---|
| ChildNodes | Gets the child nodes of this node. | |
| Data | Gets the primitive data of this node. These are the basic types such as string, double, int, and arrays of those types. | |
| FullName | Gets the full name of the node (names from the root to this node, separated by a slash) | |
| Name | Gets the node name. | |
| Parent | Gets the parent node, or null if this is the root node. | |
| TextEncoding | Gets the text encoding that is used in WITec projects (Windows-1252). |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetChild | Gets the child node with the provided name. If is it not there, and exception will be thrown. | |
| GetDataT | Gets a data value by name and casts it to the requested type T. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Read | Reads the RootNode and subsequently all childnodes of the Witec project file. | |
| ReadNameValue | Reads a node, consisting of a name, and data. The data can be a Witec node, or simple data like string, double, or arrays. | |
| ReadString | Reads the string. This consist of a 4 byte integer that designates the string length, followed by the string data. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |