bpp-phyl-omics  2.2.0
bpp::DropSpeciesMafIterator Class Reference

This iterator removes leaves of a certain species in an attached tree. More...

#include <Bpp/Seq/Io/Maf/TreeManipulationMafIterators.h>

+ Inheritance diagram for bpp::DropSpeciesMafIterator:
+ Collaboration diagram for bpp::DropSpeciesMafIterator:

Public Member Functions

 DropSpeciesMafIterator (MafIterator *iterator, const std::string &treePropertyRead, const std::string &treePropertyWrite, const std::string &species)
 
MafBlock * analyseCurrentBlock_ () throw (Exception)
 

Private Member Functions

void manipulateTree_ (TreeTemplate< Node > *tree) throw (Exception)
 

Private Attributes

std::string species_
 

Detailed Description

This iterator removes leaves of a certain species in an attached tree.

Definition at line 101 of file TreeManipulationMafIterators.h.

Constructor & Destructor Documentation

◆ DropSpeciesMafIterator()

bpp::DropSpeciesMafIterator::DropSpeciesMafIterator ( MafIterator *  iterator,
const std::string &  treePropertyRead,
const std::string &  treePropertyWrite,
const std::string &  species 
)
inline

Definition at line 109 of file TreeManipulationMafIterators.h.

Member Function Documentation

◆ analyseCurrentBlock_()

MafBlock * TreeManipulationMafIterator::analyseCurrentBlock_ ( )
throw (Exception
)
inherited

Definition at line 45 of file TreeManipulationMafIterators.cpp.

◆ manipulateTree_()

void DropSpeciesMafIterator::manipulateTree_ ( TreeTemplate< Node > *  tree)
throw (Exception
)
privatevirtual

Implements bpp::TreeManipulationMafIterator.

Definition at line 82 of file TreeManipulationMafIterators.cpp.

Member Data Documentation

◆ species_

std::string bpp::DropSpeciesMafIterator::species_
private

Definition at line 105 of file TreeManipulationMafIterators.h.


The documentation for this class was generated from the following files: