HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GP_NodeTree Class Reference

#include <GP_NodeTree.h>

+ Inheritance diagram for GP_NodeTree:

Public Member Functions

 GP_NodeTree ()
 
 GP_NodeTree (const GP_NodeTree &tree)
 
 ~GP_NodeTree () override
 
GP_NodecopyFrom (const GP_NodeTree &src, const GP_Node *=0)
 
int copyFrom (const GP_NodeTree &src, const GP_NodeTree &destpool)
 
int insert (const GP_Node &d)
 
int append (const GP_Node &d)
 
const GP_Noderemove ()
 
const GP_Noderemove (int key)
 
const GP_Noderemove (const GP_Node &d)
 
const GP_Nodefind (int key) const
 
const GP_Nodefind (const GP_Node &d) const
 
int contains (int key) const
 
int contains (const GP_Node &d) const
 
void clear ()
 
void clearAndDestroy ()
 
- Public Member Functions inherited from UT_SplayTree
 UT_SplayTree (int(*fcomp)(const void *, const void *))
 
 UT_SplayTree (const UT_SplayTree &tree)
 
virtual ~UT_SplayTree ()
 
int add (const void *, unsigned maxDepth=0)
 
const voidremove (const void *=0)
 
void clear ()
 
UT_SplayTreeoperator+= (const UT_SplayTree &tree)
 
UT_SplayTreeoperator-= (const UT_SplayTree &tree)
 
UT_SplayTreeoperator= (const UT_SplayTree &tree)
 
int traverse (int(*func)(const void *))
 
int traverse (int(*func)(const void *, void *), void *data)
 
int traverseBackward (int(*func)(const void *))
 
int traverseBackward (int(*func)(const void *, void *), void *data)
 
const voidfind (const void *data) const
 
int entries () const
 

Detailed Description

Definition at line 22 of file GP_NodeTree.h.

Constructor & Destructor Documentation

GP_NodeTree::GP_NodeTree ( )
GP_NodeTree::GP_NodeTree ( const GP_NodeTree tree)
GP_NodeTree::~GP_NodeTree ( )
override

Member Function Documentation

int GP_NodeTree::append ( const GP_Node d)
inline

Definition at line 47 of file GP_NodeTree.h.

void GP_NodeTree::clear ( )
inline

Definition at line 79 of file GP_NodeTree.h.

void GP_NodeTree::clearAndDestroy ( )
int GP_NodeTree::contains ( int  key) const
int GP_NodeTree::contains ( const GP_Node d) const
inline

Definition at line 73 of file GP_NodeTree.h.

GP_Node* GP_NodeTree::copyFrom ( const GP_NodeTree src,
const GP_Node = 0 
)
int GP_NodeTree::copyFrom ( const GP_NodeTree src,
const GP_NodeTree destpool 
)
const GP_Node* GP_NodeTree::find ( int  key) const
const GP_Node* GP_NodeTree::find ( const GP_Node d) const
inline

Definition at line 66 of file GP_NodeTree.h.

int GP_NodeTree::insert ( const GP_Node d)
inline

Definition at line 43 of file GP_NodeTree.h.

const GP_Node* GP_NodeTree::remove ( )
inline

Definition at line 53 of file GP_NodeTree.h.

const GP_Node* GP_NodeTree::remove ( int  key)
const GP_Node* GP_NodeTree::remove ( const GP_Node d)
inline

Definition at line 58 of file GP_NodeTree.h.


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