vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DynamicTree< _Type > Class Template Reference

#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
 

Member Typedef Documentation

template<class _Type>
typedef bool(* DynamicTree< _Type >::DYNTREE_NODEALLOWED)(DynTreeNode< _Type > *node)
template<class _Type>
typedef bool(* DynamicTree< _Type >::DYNTREE_SUBTREEALLOWED)(DynTreeNode< _Type > *node)

Constructor & Destructor Documentation

template<class _Type >
DynamicTree< _Type >::DynamicTree ( void  )
template<class _Type >
DynamicTree< _Type >::~DynamicTree ( void  )
virtual

Member Function Documentation

template<class _Type>
bool DynamicTree< _Type >::AddNode ( _Type *  lpParent,
_Type *  lpNode 
)
template<class _Type>
bool DynamicTree< _Type >::AddNodeLast ( _Type *  lpParent,
_Type *  lpNode 
)
template<class _Type >
bool DynamicTree< _Type >::Clear ( bool  bCallDelete = false)
template<class _Type>
bool DynamicTree< _Type >::DeleteNode ( _Type *  lpNode,
bool  bCallDelete = false 
)
template<class _Type>
unsigned long DynamicTree< _Type >::GetCount ( void  )
inline
template<class _Type>
_Type* DynamicTree< _Type >::GetRoot ( void  )
inline
template<class _Type>
bool DynamicTree< _Type >::InsertNode ( _Type *  lpParent,
_Type *  lpPrevSibling,
_Type *  lpNode 
)

Member Data Documentation

template<class _Type>
unsigned long DynamicTree< _Type >::dwCount
protected
template<class _Type>
_Type* DynamicTree< _Type >::lpRoot
protected

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