#include <bu.h>
Collaboration diagram for bu_rb_node:
Data Fields | |
long | rbn_magic |
Magic no. for integrity check. | |
bu_rb_tree * | rbn_tree |
Tree containing this node. | |
bu_rb_node ** | rbn_parent |
Parents. | |
bu_rb_node ** | rbn_left |
Left subtrees. | |
bu_rb_node ** | rbn_right |
Right subtrees. | |
char * | rbn_color |
Colors of this node. | |
int * | rbn_size |
Sizes of subtrees rooted here. | |
bu_rb_package ** | rbn_package |
Contents of this node. | |
int | rbn_pkg_refs |
How many orders are being used? | |
bu_rb_list * | rbn_list_pos |
Place in the list of all nodes. |
For the most part, there is a one-to-one correspondence between nodes and chunks of application data. When a node is created, all of its package pointers (one per order of the tree) point to the same chunk of data. However, subsequent deletions usually muddy this tidy state of affairs.
Definition at line 1582 of file bu.h.
|
Magic no. for integrity check.
|
|
Tree containing this node.
Definition at line 1585 of file bu.h. Referenced by _rb_neighbor(), _rb_rot_left(), and _rb_rot_right(). |
|
Parents.
Definition at line 1586 of file bu.h. Referenced by bu_rb_create(). |
|
Left subtrees.
Definition at line 1587 of file bu.h. Referenced by bu_rb_create(). |
|
Right subtrees.
Definition at line 1588 of file bu.h. Referenced by bu_rb_create(). |
|
Colors of this node.
Definition at line 1589 of file bu.h. Referenced by bu_rb_create(). |
|
Sizes of subtrees rooted here.
Definition at line 1590 of file bu.h. Referenced by bu_rb_create(). |
|
Contents of this node.
Definition at line 1591 of file bu.h. Referenced by bu_rb_create(). |
|
How many orders are being used?
|
|
Place in the list of all nodes.
|