Click or drag to resize

WITecTreeNode Class

Represents a node of the node tree of a WiTec project file. The node has a name, has primitive data, and maybe also subnodes.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.WITecWITecTreeNode

Namespace: Altaxo.Serialization.WITec
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class WITecTreeNode

The WITecTreeNode type exposes the following members.

Constructors
 NameDescription
Protected methodWITecTreeNode 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.
Top
Properties
 NameDescription
Public propertyChildNodes Gets the child nodes of this node.
Public propertyData Gets the primitive data of this node. These are the basic types such as string, double, int, and arrays of those types.
Public propertyFullName Gets the full name of the node (names from the root to this node, separated by a slash)
Public propertyName Gets the node name.
Public propertyParent Gets the parent node, or null if this is the root node.
Public propertyStatic memberTextEncoding Gets the text encoding that is used in WITec projects (Windows-1252).
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetChild Gets the child node with the provided name. If is it not there, and exception will be thrown.
Public methodGetDataT Gets a data value by name and casts it to the requested type T.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberRead Reads the RootNode and subsequently all childnodes of the Witec project file.
Public methodStatic memberReadNameValue Reads a node, consisting of a name, and data. The data can be a Witec node, or simple data like string, double, or arrays.
Public methodStatic memberReadString Reads the string. This consist of a 4 byte integer that designates the string length, followed by the string data.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also