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

Search Toolkit Book for visitor_paste_subtree

+ Collaboration diagram 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

CPhyloTreem_Target
 
CPhyloTreem_Source
 
TTreeIdx m_TargetIdx
 
map< CPhyloNodeData::TID, CPhyloNodeData::TIDm_IdMap
 mapping from Ids in source tree to target tree More...
 
CPhyloNodeData::TID m_TargetMaxId
 

Detailed Description

Definition at line 1223 of file phylo_tree_ds.cpp.

Member Typedef Documentation

◆ TNodeType

Definition at line 1228 of file phylo_tree_ds.cpp.

◆ TTreeIdx

Definition at line 1227 of file phylo_tree_ds.cpp.

◆ TTreeType

Definition at line 1226 of file phylo_tree_ds.cpp.

Constructor & Destructor Documentation

◆ visitor_paste_subtree()

visitor_paste_subtree::visitor_paste_subtree ( CPhyloTree source,
CPhyloTree target,
TTreeIdx  target_idx 
)
inline

Member Function Documentation

◆ operator()()

ETreeTraverseCode visitor_paste_subtree::operator() ( CPhyloTree tree,
CPhyloTree::TTreeIdx  node_idx,
int  delta 
)
inline

Member Data Documentation

◆ m_IdMap

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()().

◆ m_Source

CPhyloTree& visitor_paste_subtree::m_Source

Definition at line 1299 of file phylo_tree_ds.cpp.

Referenced by operator()().

◆ m_Target

CPhyloTree& visitor_paste_subtree::m_Target

Definition at line 1298 of file phylo_tree_ds.cpp.

Referenced by operator()(), and visitor_paste_subtree().

◆ m_TargetIdx

TTreeIdx visitor_paste_subtree::m_TargetIdx

Definition at line 1300 of file phylo_tree_ds.cpp.

Referenced by operator()().

◆ m_TargetMaxId

CPhyloNodeData::TID visitor_paste_subtree::m_TargetMaxId

Definition at line 1305 of file phylo_tree_ds.cpp.

Referenced by operator()(), and visitor_paste_subtree().


The documentation for this class was generated from the following file:
Modified on Wed Sep 04 15:03:32 2024 by modify_doxy.py rev. 669887