NCBI C++ ToolKit
|
Search Toolkit Book for IPhyloTreeVisitor
#include <gui/widgets/phylo_tree/phylo_tree_algorithm.hpp>
Public Types | |
typedef CPhyloTree | TTreeType |
typedef CPhyloTree::TTreeIdx | TTreeIdx |
typedef CPhyloTree::TNodeType | TNodeType |
Public Member Functions | |
IPhyloTreeVisitor (TTreeType *tree) | |
virtual | ~IPhyloTreeVisitor () |
ETreeTraverseCode | operator() (TTreeType &tree, TTreeIdx tree_node, int delta) |
Protected Member Functions | |
virtual ETreeTraverseCode | x_OnStepRight (TTreeIdx x_node) |
virtual ETreeTraverseCode | x_OnStepLeft (TTreeIdx x_node) |
virtual ETreeTraverseCode | x_OnStepDown (TTreeIdx x_node) |
virtual ETreeTraverseCode | x_OnStep (TTreeIdx x_node, int delta) |
Protected Attributes | |
TTreeType * | m_Tree |
Definition at line 51 of file phylo_tree_algorithm.hpp.
Definition at line 56 of file phylo_tree_algorithm.hpp.
Definition at line 55 of file phylo_tree_algorithm.hpp.
Definition at line 54 of file phylo_tree_algorithm.hpp.
|
inline |
Definition at line 59 of file phylo_tree_algorithm.hpp.
|
inlinevirtual |
Definition at line 60 of file phylo_tree_algorithm.hpp.
ETreeTraverseCode IPhyloTreeVisitor::operator() | ( | TTreeType & | tree, |
TTreeIdx | tree_node, | ||
int | delta | ||
) |
Definition at line 61 of file phylo_tree_algorithm.cpp.
References delta(), and x_OnStep().
|
protectedvirtual |
Reimplemented in IPhyloTreeFilter, CPhyloTreeCalculator, CPhyloTreeSorterLabelRange, CPhyloTreeSorterLabel, CPhyloTreeSorterSubtreeDist, CPhyloTreeLabelRange, CPhyloTreeMidpointDist, CPhyloTreeDistFromRoot, CPhyloTreeMaxChildDist, CPhyloTreeMaxDirectChildDist, CPhyloTreeSorter, CPhyloTreeMaxIdCalculator, CPhyloTreePriorityNode, and CPhyloTreeRectCalculator.
Definition at line 66 of file phylo_tree_algorithm.cpp.
References delta(), eTreeTraverse, x_OnStepDown(), x_OnStepLeft(), and x_OnStepRight().
Referenced by operator()(), CPhyloTreeMaxDirectChildDist::x_OnStep(), CPhyloTreeMaxChildDist::x_OnStep(), CPhyloTreeDistFromRoot::x_OnStep(), CPhyloTreeMidpointDist::x_OnStep(), CPhyloTreeLabelRange::x_OnStep(), and CPhyloTreeCalculator::x_OnStep().
|
protectedvirtual |
Reimplemented in CPhyloTreeCalculator.
Definition at line 77 of file phylo_tree_algorithm.cpp.
References eTreeTraverse.
Referenced by x_OnStep().
|
protectedvirtual |
Reimplemented in CPhyloTreeCalculator.
Definition at line 87 of file phylo_tree_algorithm.cpp.
References eTreeTraverse.
Referenced by x_OnStep().
|
protectedvirtual |
Reimplemented in CPhyloTreeCalculator.
Definition at line 82 of file phylo_tree_algorithm.cpp.
References eTreeTraverse.
Referenced by x_OnStep().
|
protected |
Definition at line 69 of file phylo_tree_algorithm.hpp.
Referenced by CPhyloTreeCalculator::SetAttrTable(), CPhyloTreeFilter_Export::x_Allowed(), CPhyloTreeSorter::x_OnStep(), CPhyloTreeMaxDirectChildDist::x_OnStep(), CPhyloTreeSorterSubtreeDist::x_OnStep(), CPhyloTreeSorterLabel::x_OnStep(), CPhyloTreeSorterLabelRange::x_OnStep(), CPhyloTreeCalculator::x_OnStep(), IPhyloTreeFilter::x_OnStep(), CPhyloTreeCalculator::x_OnStepDown(), CPhyloTreeCalculator::x_OnStepRight(), and CPhyloTreeCalculator::x_UpdateProperties().