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

Search Toolkit Book for CTreeContNodeBase

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

+ Inheritance diagram for CTreeContNodeBase:
+ Collaboration diagram for CTreeContNodeBase:

Public Member Functions

 CTreeContNodeBase ()
 
bool IsTerminal () const
 
bool IsRoot () const
 
bool IsLastChild () const
 
bool IsFirstChild () const
 
void Merge (CTreeContNodeBase *)
 
const CTreeContNodeBaseParent () const
 
const CTreeContNodeBaseSibling () const
 
const CTreeContNodeBaseChild () const
 

Protected Member Functions

CTreeContNodeBaseParent ()
 
CTreeContNodeBaseSibling ()
 
CTreeContNodeBaseChild ()
 
virtual ~CTreeContNodeBase ()
 

Private Attributes

CTreeContNodeBasem_parent
 
CTreeContNodeBasem_sibling
 
CTreeContNodeBasem_child
 

Friends

class CTreeIterator
 
class CTreeConstIterator
 
class CTreeCont
 

Detailed Description

Definition at line 51 of file ctreecont.hpp.

Constructor & Destructor Documentation

◆ CTreeContNodeBase()

CTreeContNodeBase::CTreeContNodeBase ( )
inline

Definition at line 60 of file ctreecont.hpp.

References m_child, m_parent, and m_sibling.

◆ ~CTreeContNodeBase()

virtual CTreeContNodeBase::~CTreeContNodeBase ( )
inlineprotectedvirtual

Definition at line 89 of file ctreecont.hpp.

Member Function Documentation

◆ Child() [1/2]

CTreeContNodeBase* CTreeContNodeBase::Child ( )
inlineprotected

Definition at line 88 of file ctreecont.hpp.

References m_child.

◆ Child() [2/2]

const CTreeContNodeBase* CTreeContNodeBase::Child ( ) const
inline

Definition at line 84 of file ctreecont.hpp.

References m_child.

Referenced by CTreeLeavesBranchesIterator::IsVisible(), and CTreeBestIterator::IsVisible().

◆ IsFirstChild()

bool CTreeContNodeBase::IsFirstChild ( ) const
inline

Definition at line 76 of file ctreecont.hpp.

References m_child, and m_parent.

Referenced by CFullTreeConstIterator::IsFirstChild(), and CTreeBestIterator::IsVisible().

◆ IsLastChild()

bool CTreeContNodeBase::IsLastChild ( ) const
inline

◆ IsRoot()

bool CTreeContNodeBase::IsRoot ( void  ) const
inline

◆ IsTerminal()

bool CTreeContNodeBase::IsTerminal ( ) const
inline

◆ Merge()

void CTreeContNodeBase::Merge ( CTreeContNodeBase )
inline

Definition at line 80 of file ctreecont.hpp.

Referenced by CTreeIterator::Merge().

◆ Parent() [1/2]

CTreeContNodeBase* CTreeContNodeBase::Parent ( )
inlineprotected

Definition at line 86 of file ctreecont.hpp.

References m_parent.

◆ Parent() [2/2]

const CTreeContNodeBase* CTreeContNodeBase::Parent ( ) const
inline

Definition at line 82 of file ctreecont.hpp.

References m_parent.

Referenced by CTreeIterator::AddChild(), and CTaxon1Node::GetParent().

◆ Sibling() [1/2]

CTreeContNodeBase* CTreeContNodeBase::Sibling ( )
inlineprotected

Definition at line 87 of file ctreecont.hpp.

References m_sibling.

◆ Sibling() [2/2]

const CTreeContNodeBase* CTreeContNodeBase::Sibling ( ) const
inline

Definition at line 83 of file ctreecont.hpp.

References m_sibling.

Friends And Related Function Documentation

◆ CTreeConstIterator

friend class CTreeConstIterator
friend

Definition at line 53 of file ctreecont.hpp.

◆ CTreeCont

friend class CTreeCont
friend

Definition at line 54 of file ctreecont.hpp.

◆ CTreeIterator

friend class CTreeIterator
friend

Definition at line 52 of file ctreecont.hpp.

Member Data Documentation

◆ m_child

CTreeContNodeBase* CTreeContNodeBase::m_child
private

◆ m_parent

CTreeContNodeBase* CTreeContNodeBase::m_parent
private

◆ m_sibling

CTreeContNodeBase* CTreeContNodeBase::m_sibling
private

The documentation for this class was generated from the following file:
Modified on Fri Apr 12 17:19:41 2024 by modify_doxy.py rev. 669887