EGbbtree_t Struct Reference

#include <eg_bbtree.h>

Collaboration diagram for EGbbtree_t:

Collaboration graph
[legend]

Detailed Description

Balance Binary Tree structure.

Description:
This structure has a pointer to a root node, the number of nodes in the tree structure, and a pointer to a comparison function used to build the tree and to add/remove elements from the tree, and a pointer to a memory manager from where the local memory will be draw.

Definition at line 86 of file eg_bbtree.h.

Data Fields

EGcompare_f compare
EGmemPool_tmem
EGbbtreeNode_troot
unsigned int size


Field Documentation

EGcompare_f EGbbtree_t::compare
 

Pointer to a comparison function, this function will be used while building/modifying the tree

Definition at line 91 of file eg_bbtree.h.

EGmemPool_t* EGbbtree_t::mem
 

Pointer to the local memory manager from where all memory will be draw/freed.

Definition at line 89 of file eg_bbtree.h.

EGbbtreeNode_t* EGbbtree_t::root
 

Pointer to the root of the tree.

Definition at line 88 of file eg_bbtree.h.

unsigned int EGbbtree_t::size
 

Number of nodes in the tree.

Definition at line 93 of file eg_bbtree.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jan 30 08:54:52 2006 for EGlib by  doxygen 1.4.5