40 #ifndef _MAFITERATOR_H_
41 #define _MAFITERATOR_H_
53 class IterationListener;
170 AbstractMafIterator::operator=(it);
Helper class for developping filter for maf blocks.
AbstractFilterMafIterator(const AbstractFilterMafIterator &it)
AbstractFilterMafIterator(MafIterator *iterator)
void setLogStream(std::shared_ptr< OutputStream > logstream)
AbstractFilterMafIterator & operator=(const AbstractFilterMafIterator &it)
std::shared_ptr< OutputStream > logstream_
Partial implementation of the MafIterator interface.
virtual void fireIterationMoveSignal_(const MafBlock ¤tBlock)
MafBlock * nextBlock()
Get the next available alignment block.
virtual ~AbstractMafIterator()
virtual void fireIterationStartSignal_()
virtual void fireIterationStopSignal_()
void addIterationListener(IterationListener *listener)
virtual MafBlock * analyseCurrentBlock_()=0
std::vector< IterationListener * > iterationListeners_
Listener which enables to catch events when parsing a Maf file.
A synteny block data structure, the basic unit of a MAF alignement file.
This special iterator synchronizes two adaptors.
MafIterator * secondaryIterator_
MafIteratorSynchronizer & operator=(const MafIteratorSynchronizer &iterator)
MafBlock * analyseCurrentBlock_()
MafIteratorSynchronizer(const MafIteratorSynchronizer &iterator)
MafIteratorSynchronizer(MafIterator *primaryIterator, MafIterator *secondaryIterator)
Interface to loop over maf alignment blocks.
virtual bool isVerbose() const =0
virtual void addIterationListener(IterationListener *listener)=0
virtual void setVerbose(bool yn)=0
virtual MafBlock * nextBlock()=0
Get the next available alignment block.
Interface to loop over removed blocks of a maf alignment.
virtual MafBlock * nextRemovedBlock()=0
Get the next available removed alignment block.
virtual ~MafTrashIterator()
MafBlock * analyseCurrentBlock_()
TrashIteratorAdapter(MafTrashIterator *iterator)
TrashIteratorAdapter(const TrashIteratorAdapter &iterator)
MafTrashIterator * iterator_
TrashIteratorAdapter & operator=(const TrashIteratorAdapter &iterator)