vrecko
virtual reality framework
|
#include <DynamicTree.h>
Public Types | |
typedef bool(* | DYNTREE_NODEALLOWED )(DynTreeNode< _Type > *node) |
typedef bool(* | DYNTREE_SUBTREEALLOWED )(DynTreeNode< _Type > *node) |
Public Member Functions | |
DynamicTree (void) | |
virtual | ~DynamicTree (void) |
unsigned long | GetCount (void) |
bool | AddNode (_Type *lpParent, _Type *lpNode) |
bool | AddNodeLast (_Type *lpParent, _Type *lpNode) |
bool | InsertNode (_Type *lpParent, _Type *lpPrevSibling, _Type *lpNode) |
bool | DeleteNode (_Type *lpNode, bool bCallDelete=false) |
_Type * | GetRoot (void) |
bool | Clear (bool bCallDelete=false) |
Protected Attributes | |
_Type * | lpRoot |
unsigned long | dwCount |
typedef bool(* DynamicTree< _Type >::DYNTREE_NODEALLOWED)(DynTreeNode< _Type > *node) |
typedef bool(* DynamicTree< _Type >::DYNTREE_SUBTREEALLOWED)(DynTreeNode< _Type > *node) |
DynamicTree< _Type >::DynamicTree | ( | void | ) |
|
virtual |
bool DynamicTree< _Type >::AddNode | ( | _Type * | lpParent, |
_Type * | lpNode | ||
) |
bool DynamicTree< _Type >::AddNodeLast | ( | _Type * | lpParent, |
_Type * | lpNode | ||
) |
bool DynamicTree< _Type >::Clear | ( | bool | bCallDelete = false | ) |
bool DynamicTree< _Type >::DeleteNode | ( | _Type * | lpNode, |
bool | bCallDelete = false |
||
) |
|
inline |
|
inline |
bool DynamicTree< _Type >::InsertNode | ( | _Type * | lpParent, |
_Type * | lpPrevSibling, | ||
_Type * | lpNode | ||
) |
|
protected |
|
protected |