40 #ifndef _ORDERFILTERMAFITERATOR_H_
41 #define _ORDERFILTERMAFITERATOR_H_
83 const std::string& reference,
84 bool unsortedBlockDiscarded =
true,
85 bool unsortedBlockThrowsException =
false,
86 bool overlappingBlockDiscarded =
true,
87 bool overlappingBlockThrowsException =
false) :
128 bool testCont =
true;
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 check that blocks are ordered according to a reference sequence.
bool overlappingBlockThrowsException_
bool overlappingBlockDiscarded_
MafBlock * analyseCurrentBlock_()
size_t previousBlockStop_
size_t previousBlockStart_
bool parseBlock_(const MafBlock &block)
bool unsortedBlockThrowsException_
OrderFilterMafIterator(const OrderFilterMafIterator &iterator)
bool unsortedBlockDiscarded_
OrderFilterMafIterator(MafIterator *iterator, const std::string &reference, bool unsortedBlockDiscarded=true, bool unsortedBlockThrowsException=false, bool overlappingBlockDiscarded=true, bool overlappingBlockThrowsException=false)
Build a new OrderFilterMafIterator object.
OrderFilterMafIterator & operator=(const OrderFilterMafIterator &iterator)