Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::avl::AbstractTree Class Reference

#include <elm/avl/GenTree.h>

+ Inheritance diagram for elm::avl::AbstractTree:

Classes

class  Node
 

Protected Member Functions

 AbstractTree (void)
 
void insert (unsigned char da[], int dir, Node *node, Node *q, Node *y, Node *z)
 
void remove (Node *pa[], unsigned char da[], int k, Node *p)
 
int count (void) const
 

Protected Attributes

Noderoot
 
int cnt
 

Constructor & Destructor Documentation

elm::avl::AbstractTree::AbstractTree ( void  )
protected

Member Function Documentation

int elm::avl::AbstractTree::count ( void  ) const
protected

Count the number of nodes.

Returns
Number of nodes.

References cnt, elm::avl::AbstractTree::Node::links, elm::genstruct::Vector< T >::pop(), elm::genstruct::Vector< T >::push(), and root.

void elm::avl::AbstractTree::insert ( unsigned char  da[],
int  dir,
Node node,
Node q,
Node y,
Node z 
)
protected
void elm::avl::AbstractTree::remove ( Node pa[],
unsigned char  da[],
int  k,
Node p 
)
protected

Member Data Documentation


The documentation for this class was generated from the following files: