NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CPhyloTreeFilter_Depth Class Reference

Search Toolkit Book for CPhyloTreeFilter_Depth

#include <gui/widgets/phylo_tree/phylo_tree_algorithm.hpp>

+ Inheritance diagram for CPhyloTreeFilter_Depth:
+ Collaboration diagram for CPhyloTreeFilter_Depth:

Public Member Functions

 CPhyloTreeFilter_Depth (TTreeType *tree, int x_depth)
 
- Public Member Functions inherited from IPhyloTreeFilter
 IPhyloTreeFilter (TTreeType *tree)
 
- Public Member Functions inherited from IPhyloTreeVisitor
 IPhyloTreeVisitor (TTreeType *tree)
 
virtual ~IPhyloTreeVisitor ()
 
ETreeTraverseCode operator() (TTreeType &tree, TTreeIdx tree_node, int delta)
 

Protected Member Functions

virtual bool x_Allowed (TNodeType &node)
 
- Protected Member Functions inherited from IPhyloTreeFilter
virtual ETreeTraverseCode x_OnStep (TTreeIdx x_node, int delta)
 
- Protected Member Functions inherited from IPhyloTreeVisitor
virtual ETreeTraverseCode x_OnStepRight (TTreeIdx x_node)
 
virtual ETreeTraverseCode x_OnStepLeft (TTreeIdx x_node)
 
virtual ETreeTraverseCode x_OnStepDown (TTreeIdx x_node)
 

Private Attributes

int m_Depth
 

Additional Inherited Members

- Public Types inherited from IPhyloTreeVisitor
typedef CPhyloTree TTreeType
 
typedef CPhyloTree::TTreeIdx TTreeIdx
 
typedef CPhyloTree::TNodeType TNodeType
 
- Protected Attributes inherited from IPhyloTreeVisitor
TTreeTypem_Tree
 

Detailed Description

Definition at line 561 of file phylo_tree_algorithm.hpp.

Constructor & Destructor Documentation

◆ CPhyloTreeFilter_Depth()

CPhyloTreeFilter_Depth::CPhyloTreeFilter_Depth ( TTreeType tree,
int  x_depth 
)
inline

Definition at line 564 of file phylo_tree_algorithm.hpp.

Member Function Documentation

◆ x_Allowed()

virtual bool CPhyloTreeFilter_Depth::x_Allowed ( TNodeType node)
inlineprotectedvirtual

Reimplemented from IPhyloTreeFilter.

Definition at line 568 of file phylo_tree_algorithm.hpp.

References m_Depth.

Member Data Documentation

◆ m_Depth

int CPhyloTreeFilter_Depth::m_Depth
private

Definition at line 573 of file phylo_tree_algorithm.hpp.

Referenced by x_Allowed().


The documentation for this class was generated from the following file:
Modified on Wed Sep 04 15:01:14 2024 by modify_doxy.py rev. 669887