Support Forum       G3D Web Page     
Public Member Functions | List of all members
G3D::DepthFirstTreeBuilder< Node > Class Template Referenceabstract


Template class for a depth first tree traversal supporting methods enterChild and goToParent. More...

Public Member Functions

 DepthFirstTreeBuilder ()
 
virtual ~DepthFirstTreeBuilder ()
 
virtual void enterChild (const Node &node)=0
 Add child to current node and go down a level. More...
 
virtual void goToParent ()=0
 Go up a level, to parent of current node. More...
 

Detailed Description

template<class Node>
class G3D::DepthFirstTreeBuilder< Node >


Template class for a depth first tree traversal supporting methods enterChild and goToParent.

Constructor & Destructor Documentation

◆ DepthFirstTreeBuilder()

template<class Node >
G3D::DepthFirstTreeBuilder< Node >::DepthFirstTreeBuilder ( )
inline

◆ ~DepthFirstTreeBuilder()

template<class Node >
virtual G3D::DepthFirstTreeBuilder< Node >::~DepthFirstTreeBuilder ( )
inlinevirtual

Member Function Documentation

◆ enterChild()

template<class Node >
virtual void G3D::DepthFirstTreeBuilder< Node >::enterChild ( const Node &  node)
pure virtual

Add child to current node and go down a level.

◆ goToParent()

template<class Node >
virtual void G3D::DepthFirstTreeBuilder< Node >::goToParent ( )
pure virtual

Go up a level, to parent of current node.


documentation generated on Wed Nov 24 2021 08:01:54 using doxygen 1.8.15