KeylessMethods

Template with keyless methods.

Template parameters: Node = tree node struct type; expected to be an instance of the Node struct template in ocean.util.container.ebtree.model.Node.

eb_first = eb_node* ( eb_root* root ); returns the first node eb_last = eb_node* ( eb_root* root ); returns the last node

Members

Functions

first
Node* first()
last
Node* last()
opApply
int opApply(int delegate(ref Node node) dg)

foreach iterator over nodes in the tree. Any tree modification is permitted during iteration.

opApply_reverse
int opApply_reverse(int delegate(ref Node node) dg)

foreach_reverse iterator over nodes in the tree. Any tree modification is permitted during iteration.

remove
void remove(Node node)

Removes a node from the tree.

Meta