NCBI C++ ToolKit
|
Search Toolkit Book for visitor_paste_subtree
Public Types | |
typedef CPhyloTree | TTreeType |
typedef CPhyloTree::TTreeIdx | TTreeIdx |
typedef CPhyloTree::TNodeType | TNodeType |
Public Member Functions | |
visitor_paste_subtree (CPhyloTree &source, CPhyloTree &target, TTreeIdx target_idx) | |
ETreeTraverseCode | operator() (CPhyloTree &tree, CPhyloTree::TTreeIdx node_idx, int delta) |
Public Attributes | |
CPhyloTree & | m_Target |
CPhyloTree & | m_Source |
TTreeIdx | m_TargetIdx |
map< CPhyloNodeData::TID, CPhyloNodeData::TID > | m_IdMap |
mapping from Ids in source tree to target tree More... | |
CPhyloNodeData::TID | m_TargetMaxId |
Definition at line 1223 of file phylo_tree_ds.cpp.
Definition at line 1228 of file phylo_tree_ds.cpp.
Definition at line 1227 of file phylo_tree_ds.cpp.
Definition at line 1226 of file phylo_tree_ds.cpp.
|
inline |
Definition at line 1231 of file phylo_tree_ds.cpp.
References CPhyloTreeMaxIdCalculator::GetMaxId(), m_Target, m_TargetMaxId, and TreeDepthFirst().
|
inline |
Definition at line 1242 of file phylo_tree_ds.cpp.
References CTreeModel< TNode >::AddChild(), CTreeModel< TNode >::AddNode(), CTreeModelNode< TData >::ClearConnections(), delta(), eTreeTraverse, CPhyloTree::FindNodeById(), CPhyloNodeData::GetBioTreeFeatureList(), CPhyloTree::GetFeatureDict(), CPhyloNodeData::GetId(), CBioTreeFeatureDictionary::GetName(), CTreeModelNode< TData >::GetParent(), CTreeModelNode< TData >::GetValue(), Info(), ITERATE, LOG_POST, m_IdMap, m_Source, m_Target, m_TargetIdx, m_TargetMaxId, CTreeModelNode< CPhyloNodeData >::Null(), CBioTreeFeatureDictionary::Register(), and CBioTreeFeatureList::SetFeature().
map<CPhyloNodeData::TID, CPhyloNodeData::TID> visitor_paste_subtree::m_IdMap |
mapping from Ids in source tree to target tree
Definition at line 1303 of file phylo_tree_ds.cpp.
Referenced by operator()().
CPhyloTree& visitor_paste_subtree::m_Source |
Definition at line 1299 of file phylo_tree_ds.cpp.
Referenced by operator()().
CPhyloTree& visitor_paste_subtree::m_Target |
Definition at line 1298 of file phylo_tree_ds.cpp.
Referenced by operator()(), and visitor_paste_subtree().
TTreeIdx visitor_paste_subtree::m_TargetIdx |
Definition at line 1300 of file phylo_tree_ds.cpp.
Referenced by operator()().
CPhyloNodeData::TID visitor_paste_subtree::m_TargetMaxId |
Definition at line 1305 of file phylo_tree_ds.cpp.
Referenced by operator()(), and visitor_paste_subtree().