NCBI C++ ToolKit
Classes | Enumerations | Functions
bio_tree_conv.hpp File Reference
#include <algo/phy_tree/bio_tree.hpp>
+ Include dependency graph for bio_tree_conv.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CTree2TreeFunc< TDstTreeNode, TSrcTreeNode, TNodeConvFunc >
 Visitor functor to convert one tree to another. More...
 
class  CBioTreeConvert2ContainerFunc< TBioTreeContainer, TDynamicTree >
 Visitor functor to convert dynamic tree nodes to ASN.1 BioTree container. More...
 
class  CTaxon1NodeConvertVisitor< TITaxon4Each, TITaxon1Node, TITreeIterator, TBioTreeContainer >
 Taxon1 tree visitor functor. More...
 
class  CTaxon1ConvertToBioTreeContainer< TBioTreeContainer, TTaxon1, TITaxon1Node, TITreeIterator >
 

Enumerations

enum  ETaxon1ConvFeatures {
  eTaxTree_Name = 1 , eTaxTree_BlastName = 2 , eTaxTree_Rank = 3 , eTaxTree_Division = 4 ,
  eTaxTree_GC = 5 , eTaxTree_MGC = 6 , eTaxTree_IsUncultured = 7 , eTaxTree_TaxId = 8 ,
  eTaxTree_SeqId = 9 , eTaxTree_Label = 10
}
 Feature ids for Bio-Tree. More...
 

Functions

template<class TDynamicTree , class TSrcBioTree , class TNodeConvFunc >
void BioTreeConvert2Dynamic (TDynamicTree &dyn_tree, const TSrcBioTree &bio_tree, TNodeConvFunc node_conv)
 Convert biotree to dynamic tree using a node converter. More...
 
template<class TDynamicTree , class TTreeNode , class TNodeConvFunc >
void TreeConvert2Dynamic (TDynamicTree &dyn_tree, const TTreeNode *src_tree, TNodeConvFunc node_conv)
 Convert CTreeNode<> to dynamic tree using a node converter. More...
 
template<class TDynamicTree , class TTreeNode , class TNodeConvFunc >
TTreeNode * DynamicConvert2Tree (TDynamicTree &dyn_tree, TNodeConvFunc node_conv, TTreeNode *&dst_node)
 Convert dynamic tree to CTreeNode<>, returned CTReeNode<> to be deleted by caller. More...
 
template<class TBioTreeContainer , class TDynamicTree >
void BioTreeConvert2Container (TBioTreeContainer &tree_container, const TDynamicTree &dyn_tree)
 Convert Dynamic tree to ASN.1 BioTree container. More...
 
template<class TBioTreeContainer , class TDynamicTree >
void BioTreeConvertContainer2Dynamic (TDynamicTree &dyn_tree, const TBioTreeContainer &tree_container, bool preserve_node_ids=false)
 Convert ASN.1 BioTree container to dynamic tree. More...
 
template<class TBioTreeContainer , class TDynamicForest >
void BioTreeForestConvert2Container (TBioTreeContainer &tree_container, const TDynamicForest &dyn_forest)
 Convert forest of Dynamic trees to ASN.1 BioTree container. More...
 
template<class TBioTreeContainer , class TDynamicForest >
void BioTreeConvertContainer2DynamicForest (TDynamicForest &dyn_forest, const TBioTreeContainer &tree_container)
 Convert ASN.1 BioTree container to forest of dynamic trees. More...
 
template<class TBioTreeContainer >
void BioTreeAddFeatureToDictionary (TBioTreeContainer &tree_container, unsigned int feature_id, const string &feature_name)
 
template<class TBioTreeContainer >
bool BioTreeContainerIsForest (const TBioTreeContainer &tree_container)
 Function to determine tree if a given biotree container is a single tree or a forest. More...
 
Modified on Sat May 25 14:20:00 2024 by modify_doxy.py rev. 669887