SubcloneSeeker  1.0.0
Subclone deconvolution software framework
 All Classes Files Functions Variables Macros Pages
TreePrintTraverser Class Reference

A tree traverser that prints tree in a text format. More...

Inheritance diagram for TreePrintTraverser:
SubcloneSeeker::TreeTraverseDelegate SubcloneSeeker::TreeTraverseDelegate

Public Member Functions

virtual void preprocessNode (TreeNode *node)
 
virtual void processNode (TreeNode *node)
 
virtual void postprocessNode (TreeNode *node)
 
virtual void preprocessNode (TreeNode *node)
 
virtual void processNode (TreeNode *node)
 
virtual void postprocessNode (TreeNode *node)
 
- Public Member Functions inherited from SubcloneSeeker::TreeTraverseDelegate
 TreeTraverseDelegate ()
 
virtual ~TreeTraverseDelegate ()
 
void terminate ()
 
bool isTerminated ()
 

Additional Inherited Members

- Protected Attributes inherited from SubcloneSeeker::TreeTraverseDelegate
bool _isTerminated
 

Detailed Description

A tree traverser that prints tree in a text format.

if B and C are children of A, the final output will look like A (B, C)

Member Function Documentation

virtual void TreePrintTraverser::postprocessNode ( TreeNode )
inlinevirtual

Hook to call after children nodes are recursively processed

Parameters
nodethe node whose children nodes are recursively processed

Reimplemented from SubcloneSeeker::TreeTraverseDelegate.

virtual void TreePrintTraverser::postprocessNode ( TreeNode )
inlinevirtual

Hook to call after children nodes are recursively processed

Parameters
nodethe node whose children nodes are recursively processed

Reimplemented from SubcloneSeeker::TreeTraverseDelegate.

virtual void TreePrintTraverser::preprocessNode ( TreeNode )
inlinevirtual

Hook to call before children nodes are recursively processed

Parameters
nodethe node whose children nodes are to be recursively processed

Reimplemented from SubcloneSeeker::TreeTraverseDelegate.

virtual void TreePrintTraverser::preprocessNode ( TreeNode )
inlinevirtual

Hook to call before children nodes are recursively processed

Parameters
nodethe node whose children nodes are to be recursively processed

Reimplemented from SubcloneSeeker::TreeTraverseDelegate.

virtual void TreePrintTraverser::processNode ( TreeNode )
inlinevirtual

Process the given node during a tree traverse

Parameters
nodethe Node which needs to be processed

Implements SubcloneSeeker::TreeTraverseDelegate.

virtual void TreePrintTraverser::processNode ( TreeNode )
inlinevirtual

Process the given node during a tree traverse

Parameters
nodethe Node which needs to be processed

Implements SubcloneSeeker::TreeTraverseDelegate.


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