#include <aatree.h>
Data Fields | |
union { | |
void * data | |
A pointer to the arbitrary data being tracked by the tree. | |
size_t index | |
An alternative to a pointer to the associated data; a value intended to be an index into an array. | |
}; | |
AATreeKeyLevelType | key |
The unique identifier for the item. | |
AATreeKeyLevelType | level |
The item's level in the tree. |
Definition at line 78 of file aatree.h.
union { ... } |
void* AANode_t::data |
A pointer to the arbitrary data being tracked by the tree.
This is needed because the remove algorithm moves nodes about in a way that requires copying node data and takes advantage of the fact that other nodes still have pointers to the copied node. So without this pointer, all the data for the node would also have to be copied.
Definition at line 87 of file aatree.h.
Referenced by AddMessage(), HandleAck(), and ServiceMessages().
size_t AANode_t::index |
The unique identifier for the item.
Definition at line 112 of file aatree.h.
Referenced by _AATreeRemove(), AATreeAdd(), AATreeFind(), HandleAck(), and ServiceMessages().