BRL-CAD
|
#include <redblack.h>
Data Fields | |
uint32_t | rbp_magic |
struct bu_rb_node ** | rbp_node |
size_t | rbp_list_pos |
void * | rbp_data |
Wrapper for application data.
This structure provides a level of indirection between the application software's data and the red-black nodes in which the data is stored. It is necessary because of the algorithm for deletion, which generally shuffles data among nodes in the tree. The package structure allows the application data to remember which node "contains" it for each order.
Definition at line 190 of file redblack.h.
uint32_t rbp_magic |
Magic no. for integrity check
Definition at line 192 of file redblack.h.
struct bu_rb_node** rbp_node |
Containing nodes
Definition at line 193 of file redblack.h.
size_t rbp_list_pos |
Place in the list of all pkgs.
Definition at line 194 of file redblack.h.
void* rbp_data |
Application data
Definition at line 195 of file redblack.h.