40 #ifndef _OUTPUTMAFITERATOR_H_
41 #define _OUTPUTMAFITERATOR_H_
Helper class for developping filter for maf blocks.
A synteny block data structure, the basic unit of a MAF alignement file.
Interface to loop over maf alignment blocks.
virtual MafBlock * nextBlock()=0
Get the next available alignment block.
This iterator forward the iterator given as input after having printed its content to a file.
OutputMafIterator(const OutputMafIterator &iterator)
OutputMafIterator & operator=(const OutputMafIterator &iterator)
MafBlock * analyseCurrentBlock_()
void writeHeader(std::ostream &out) const
OutputMafIterator(MafIterator *iterator, std::ostream *out, bool mask=true)
void writeBlock(std::ostream &out, const MafBlock &block) const