|
| int | isBlack (Node *aNode) |
| |
| int | isRed (Node *aNode) |
| |
| void * | TreeAdd (Tree *aTree, void *content, size_t size) |
| |
| void * | TreeAddByIndex (Tree *aTree, void *content, size_t size, int index) |
| |
| void | TreeAddIndex (Tree *aTree, int(*compare)(void *, void *, int)) |
| |
| Node * | TreeBAASub (Tree *aTree, Node *curnode, int which, int index) |
| |
| void | TreeBalanceAfterAdd (Tree *aTree, Node *curnode, int index) |
| |
| void | TreeBalanceAfterRemove (Tree *aTree, Node *curnode, int index) |
| |
| Node * | TreeBARSub (Tree *aTree, Node *curnode, int which, int index) |
| |
| Node * | TreeFind (Tree *aTree, void *key) |
| |
| Node * | TreeFindContentIndex (Tree *aTree, void *key, int index) |
| |
| Node * | TreeFindIndex (Tree *aTree, void *key, int index) |
| |
| Node * | TreeFindIndex1 (Tree *aTree, void *key, int index, int value) |
| |
| void | TreeFree (Tree *aTree) |
| |
| Tree * | TreeInitialize (int(*compare)(void *, void *, int)) |
| |
| void | TreeInitializeNoMalloc (Tree *aTree, int(*compare)(void *, void *, int)) |
| |
| int | TreeIntCompare (void *a, void *b, int content) |
| |
| Node * | TreeMinimum (Node *curnode) |
| |
| Node * | TreeNextElement (Tree *aTree, Node *curnode) |
| |
| Node * | TreeNextElementIndex (Tree *aTree, Node *curnode, int index) |
| |
| int | TreePtrCompare (void *a, void *b, int content) |
| |
| void * | TreeRemove (Tree *aTree, void *content) |
| |
| void * | TreeRemoveIndex (Tree *aTree, void *content, int index) |
| |
| void * | TreeRemoveKey (Tree *aTree, void *key) |
| |
| void * | TreeRemoveKeyIndex (Tree *aTree, void *key, int index) |
| |
| void * | TreeRemoveNodeIndex (Tree *aTree, Node *curnode, int index) |
| |
| void | TreeRotate (Tree *aTree, Node *curnode, int direction, int index) |
| |
| int | TreeStringCompare (void *a, void *b, int content) |
| |
| Node * | TreeSuccessor (Node *curnode) |
| |
functions which apply to tree structures.
These trees can hold data of any sort, pointed to by the content pointer of the Node structure.
Definition in file Tree.c.