NCBI C++ ToolKit
|
Search Toolkit Book for CTreeCont
#include "ctreecont.hpp"
(Private to src/objects/taxon1
.)
Public Member Functions | |
CTreeCont () | |
CTreeIterator * | GetIterator () |
CTreeConstIterator * | GetConstIterator () const |
bool | SetRoot (CTreeContNodeBase *root) |
const CTreeContNodeBase * | GetRoot () const |
bool | AddNode (CTreeContNodeBase *pParentNode, CTreeContNodeBase *pNewNode) |
void | Clear () |
~CTreeCont () | |
Private Member Functions | |
void | DeleteSubtree (CTreeContNodeBase *stroot, CTreeIterator *pCur) |
void | Done (CTreeContNodeBase *node) |
void | MoveNode (CTreeContNodeBase *node2move, CTreeContNodeBase *new_parent) |
void | MoveChildren (CTreeContNodeBase *old_parent, CTreeContNodeBase *new_parent) |
void | Merge (CTreeContNodeBase *src, CTreeContNodeBase *dst, CTreeIterator *pCur) |
void | AddChild (CTreeContNodeBase *parent) |
void | DelNodeInternal (CTreeContNodeBase *pN) |
Private Attributes | |
CTreeContNodeBase * | m_root |
Friends | |
class | CTreeIterator |
class | CTreeConstIterator |
Definition at line 96 of file ctreecont.hpp.
|
inline |
Definition at line 101 of file ctreecont.hpp.
References m_root.
CTreeCont::~CTreeCont | ( | ) |
Definition at line 496 of file ctreecont.cpp.
References DelNodeInternal(), and m_root.
|
private |
Definition at line 450 of file ctreecont.cpp.
Referenced by CTreeIterator::AddChild(), and CTreeIterator::AddSibling().
bool CTreeCont::AddNode | ( | CTreeContNodeBase * | pParentNode, |
CTreeContNodeBase * | pNewNode | ||
) |
Definition at line 515 of file ctreecont.cpp.
References CTreeContNodeBase::m_child, CTreeContNodeBase::m_parent, and CTreeContNodeBase::m_sibling.
|
inline |
Definition at line 121 of file ctreecont.hpp.
References DelNodeInternal(), and m_root.
|
private |
Definition at line 376 of file ctreecont.cpp.
Referenced by CTreeIterator::DeleteSubtree().
|
private |
Definition at line 177 of file ctreecont.cpp.
References CTreeContNodeBase::m_child, and CTreeContNodeBase::m_sibling.
Referenced by Clear(), CTreeIterator::DeleteSubtree(), and ~CTreeCont().
|
private |
Definition at line 396 of file ctreecont.cpp.
Referenced by CTreeIterator::AddChild(), CTreeIterator::AddSibling(), CTreeIterator::DeleteSubtree(), CTreeIterator::Merge(), CTreeIterator::MoveChildren(), CTreeIterator::MoveNode(), and CTreeIterator::NodeUpdated().
CTreeConstIterator * CTreeCont::GetConstIterator | ( | ) | const |
Definition at line 368 of file ctreecont.cpp.
References CTreeConstIterator.
Referenced by CTaxon1::GetTreeIterator().
CTreeIterator * CTreeCont::GetIterator | ( | void | ) |
Definition at line 362 of file ctreecont.cpp.
References CTreeIterator.
Referenced by CLevelSort::Execute(), CTaxon1::GetChildren(), CTaxon1::GetPopsetJoin(), CTaxon1::LoadSubtreeEx(), and COrgRefCache::LookupAndAdd().
|
inline |
Definition at line 116 of file ctreecont.hpp.
References m_root.
Referenced by CTaxon1::GetPopsetJoin().
|
private |
Definition at line 468 of file ctreecont.cpp.
Referenced by CTreeIterator::Merge().
|
private |
Definition at line 432 of file ctreecont.cpp.
Referenced by CTreeIterator::MoveChildren().
|
private |
Definition at line 414 of file ctreecont.cpp.
Referenced by CTreeIterator::MoveNode().
|
inline |
Definition at line 108 of file ctreecont.hpp.
References CTreeContNodeBase::m_child, CTreeContNodeBase::m_parent, m_root, and CTreeContNodeBase::m_sibling.
Referenced by CTaxon1::GetPopsetJoin(), and COrgRefCache::Init().
|
friend |
Definition at line 98 of file ctreecont.hpp.
Referenced by GetConstIterator().
|
friend |
Definition at line 97 of file ctreecont.hpp.
Referenced by GetIterator().
|
private |
Definition at line 126 of file ctreecont.hpp.
Referenced by Clear(), CTreeCont(), GetRoot(), CTreeIterator::GoRoot(), CTreeConstIterator::GoRoot(), SetRoot(), and ~CTreeCont().