name | the new node's name. |
node | a pointer to a node's c structure |
path | the path to a textfile containing a tree. (see saveAsText) |
treeString | a string containing a plain-text tree |
path | the path to a qubtree binary file |
path | the path to a qubtree binary file |
path | where on disk to save it | |
returns | true if successful |
path | file name |
To avoid copying a large file into memory when you're done with it, make sure you hold no references except the root node (set all INode variables pointing into the tree to nil), then set rootNode to nil. The file is closed automatically when there are no references to its root node.
anotherNode | INode | |
returns | true if this node and anotherNode refer to the same underlying node. |
deep |
true: copy the subtree rooted here.
false: copy just this node and its data.
default: true | |
returns | INode |
childName | name of a child node | |
returns | INode |
name | the name of a child node | |
returns | INode, possibly null |
name | the name of a sibling | |
returns | INode, possibly null |
newChildName | the name of a node to create and append | |
newChild | a node to append |
Template | a node | |
Deep | whether to copy Template's children, or just its data |
afterChild | a child of this node | |
newChildName | the name of a new child to create and insert | |
newChild | a node |
AfterChild | a child of this node | |
Template | a node | |
Deep | whether to copy Template's children, or just its data |
child | a child of this node | |
child | the child before the one you want to remove (prevNode.Sibling.Equals(child)) |
childName | the name of a child node |
timeoutMS | how long to wait for the mutex before giving up | |
returns | true if we got the mutex |
type | e.g. NODE_DATATYPE_LONGINT or NODE_DATATYPE_FLOAT | |
size | how many bytes one row takes up | |
count | how many rows | |
returns | True if successful |
type | e.g. NODE_DATATYPE_LONGINT or NODE_DATATYPE_FLOAT | |
rows | how many rows | |
count | how many columns | |
returns | True if successful |
data | a number, an array of numbers, or a string | |
returns | True if successful |
rowcount | how many rows you want the data to have | |
returns | True if successful |
bounds | the range of data rows to make available in RAM | |
doRead | true: load the data from disk false: just allocate memory | |
returns | True if successful |
doWrite | true: write the loaded region to disk false: just free its RAM. | |
returns | true if successful |
Buf | some memory to fill with the requested data | |
Bounds | the range of rows you're requesting | |
returns | the number of rows read |
Buf | some memory containing the data you wish to write | |
Bounds | the range of rows you're overwriting | |
returns | the number of rows written |