NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
CTreeFiller Class Reference

Search Toolkit Book for CTreeFiller

+ Inheritance diagram for CTreeFiller:
+ Collaboration diagram for CTreeFiller:

Public Member Functions

virtual ~CTreeFiller ()
 
 CTreeFiller (CTaxTreeDataSource &ds, const CTaxTreeBrowser::TTaxMap &tax_map)
 
ITreeIterator::EAction LevelBegin (const ITaxon1Node *tax_node)
 
ITreeIterator::EAction Execute (const ITaxon1Node *tax_node)
 
ITreeIterator::EAction LevelEnd (const ITaxon1Node *tax_node)
 
- Public Member Functions inherited from ITreeIterator::I4Each
virtual ~I4Each ()
 

Public Attributes

const CTaxTreeBrowser::TTaxMapm_TaxMap
 
unique_ptr< CTaxTreeBrowser::TTaxTreem_Tree
 
CTaxTreeBrowser::TTaxTreem_Curr
 
CRef< CTaxTreeDataSourcem_DS
 
stack< CTaxTreeBrowser::TTaxTree * > m_Nodes
 

Detailed Description

Definition at line 52 of file tax_tree.cpp.

Constructor & Destructor Documentation

◆ ~CTreeFiller()

virtual CTreeFiller::~CTreeFiller ( )
inlinevirtual

Definition at line 56 of file tax_tree.cpp.

◆ CTreeFiller()

CTreeFiller::CTreeFiller ( CTaxTreeDataSource ds,
const CTaxTreeBrowser::TTaxMap tax_map 
)
inline

Definition at line 57 of file tax_tree.cpp.

Member Function Documentation

◆ Execute()

ITreeIterator::EAction CTreeFiller::Execute ( const ITaxon1Node tax_node)
inlinevirtual

◆ LevelBegin()

ITreeIterator::EAction CTreeFiller::LevelBegin ( const ITaxon1Node tax_node)
inlinevirtual

Reimplemented from ITreeIterator::I4Each.

Definition at line 65 of file tax_tree.cpp.

References ITreeIterator::eOk, m_Curr, m_Nodes, and NULL.

◆ LevelEnd()

ITreeIterator::EAction CTreeFiller::LevelEnd ( const ITaxon1Node tax_node)
inlinevirtual

Reimplemented from ITreeIterator::I4Each.

Definition at line 105 of file tax_tree.cpp.

References ITreeIterator::eOk, m_Curr, and m_Nodes.

Member Data Documentation

◆ m_Curr

CTaxTreeBrowser::TTaxTree* CTreeFiller::m_Curr

Definition at line 114 of file tax_tree.cpp.

Referenced by Execute(), LevelBegin(), and LevelEnd().

◆ m_DS

CRef<CTaxTreeDataSource> CTreeFiller::m_DS

Definition at line 115 of file tax_tree.cpp.

Referenced by Execute().

◆ m_Nodes

stack<CTaxTreeBrowser::TTaxTree*> CTreeFiller::m_Nodes

Definition at line 116 of file tax_tree.cpp.

Referenced by Execute(), LevelBegin(), and LevelEnd().

◆ m_TaxMap

const CTaxTreeBrowser::TTaxMap& CTreeFiller::m_TaxMap

Definition at line 112 of file tax_tree.cpp.

Referenced by Execute().

◆ m_Tree

unique_ptr<CTaxTreeBrowser::TTaxTree> CTreeFiller::m_Tree

Definition at line 113 of file tax_tree.cpp.

Referenced by Execute(), and CTaxTreeBrowser::x_Refresh().


The documentation for this class was generated from the following file:
Modified on Sun Apr 21 03:43:56 2024 by modify_doxy.py rev. 669887