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

Search Toolkit Book for CTreeConstIterator

#include "ctreecont.hpp"
(Private to src/objects/taxon1.)

+ Inheritance diagram for CTreeConstIterator:
+ Collaboration diagram for CTreeConstIterator:

Public Member Functions

void GoRoot ()
 
bool GoParent ()
 
bool GoChild ()
 
bool GoSibling ()
 
bool GoNode (const CTreeContNodeBase *pNode)
 
bool GoAncestor (const CTreeContNodeBase *node)
 
const CTreeContNodeBaseGetNode () const
 
bool BelongSubtree (const CTreeContNodeBase *subtree_root) const
 
bool AboveNode (const CTreeContNodeBase *node) const
 
 CTreeConstIterator (const CTreeCont *tree)
 
virtual ~CTreeConstIterator ()
 

Private Member Functions

 CTreeConstIterator ()
 

Private Attributes

const CTreeContNodeBasem_node
 
const CTreeContm_tree
 

Detailed Description

Definition at line 277 of file ctreecont.hpp.

Constructor & Destructor Documentation

◆ CTreeConstIterator() [1/2]

CTreeConstIterator::CTreeConstIterator ( const CTreeCont tree)
inline

Definition at line 326 of file ctreecont.hpp.

◆ ~CTreeConstIterator()

virtual CTreeConstIterator::~CTreeConstIterator ( )
inlinevirtual

Definition at line 332 of file ctreecont.hpp.

◆ CTreeConstIterator() [2/2]

CTreeConstIterator::CTreeConstIterator ( )
inlineprivate

Definition at line 337 of file ctreecont.hpp.

Member Function Documentation

◆ AboveNode()

bool CTreeConstIterator::AboveNode ( const CTreeContNodeBase node) const

Definition at line 544 of file ctreecont.cpp.

References m_node, and CTreeContNodeBase::m_parent.

Referenced by CFullTreeConstIterator::AboveNode(), and GoAncestor().

◆ BelongSubtree()

bool CTreeConstIterator::BelongSubtree ( const CTreeContNodeBase subtree_root) const

Definition at line 531 of file ctreecont.cpp.

References m_node, and CTreeContNodeBase::m_parent.

Referenced by CFullTreeConstIterator::BelongSubtree(), and GoAncestor().

◆ GetNode()

const CTreeContNodeBase* CTreeConstIterator::GetNode ( void  ) const
inline

◆ GoAncestor()

bool CTreeConstIterator::GoAncestor ( const CTreeContNodeBase node)

◆ GoChild()

bool CTreeConstIterator::GoChild ( )
inline

◆ GoNode()

bool CTreeConstIterator::GoNode ( const CTreeContNodeBase pNode)
inline

◆ GoParent()

bool CTreeConstIterator::GoParent ( )
inline

◆ GoRoot()

void CTreeConstIterator::GoRoot ( )
inline

Definition at line 280 of file ctreecont.hpp.

References m_node, CTreeCont::m_root, and m_tree.

Referenced by CTaxTreeConstIterator::GoRoot().

◆ GoSibling()

bool CTreeConstIterator::GoSibling ( )
inline

Member Data Documentation

◆ m_node

const CTreeContNodeBase* CTreeConstIterator::m_node
private

◆ m_tree

const CTreeCont* CTreeConstIterator::m_tree
private

Definition at line 339 of file ctreecont.hpp.

Referenced by GoRoot().


The documentation for this class was generated from the following files:
Modified on Wed Apr 24 14:14:17 2024 by modify_doxy.py rev. 669887