nnn - Generic n-Tree Node

Module Description

The nnn module implements a generic node in a n-tree [nnt].

Module Words

Node structure

nnn% ( -- n )
Get the required space for a nnn node

Node creation, initialisation and destruction

nnn-init ( nnn -- )
Initialise the node

nnn-new ( -- nnn )
Create a new node on the heap

nnn-free ( nnn -- )
Free the node from the heap

Members words

nnn-parent@ ( nnn1 -- nnn2 )
Get from node nnn1 the parent node

nnn-parent! ( nnn1 nnn2 -- )
Set for node nnn2 the parent to nnn1

Inspection

nnn-dump ( nnn -- )
Dump the node


generated 10-Apr-2008 by ofcfrth-0.5.0