40 #ifndef _OUTPUTTREEMAFITERATOR_H_ 41 #define _OUTPUTTREEMAFITERATOR_H_ 43 #include <Bpp/Seq/Io/Maf/MafIterator.h> 46 #include <Bpp/Phyl/Tree.h> 47 #include <Bpp/Phyl/Io/Newick.h> 65 public AbstractFilterMafIterator
79 AbstractFilterMafIterator(0),
96 currentBlock_ = iterator_->nextBlock();
103 void writeBlock(std::ostream& out,
const MafBlock& block)
const;
108 #endif //_OUTPUTTREEMAFITERATOR_H_
This iterator print an attached tree to a newick file.
OutputTreeMafIterator & operator=(const OutputTreeMafIterator &iterator)
OutputTreeMafIterator(MafIterator *iterator, std::ostream *out, const std::string treeProperty)
void writeBlock(std::ostream &out, const MafBlock &block) const
std::string treeProperty_
OutputTreeMafIterator(const OutputTreeMafIterator &iterator)
MafBlock * analyseCurrentBlock_()