bpp-seq-omics
2.2.0
|
This iterator forward the iterator given as input after having printed its content to a file. More...
#include <Bpp/Seq/Io/Maf/OutputMafIterator.h>
Public Member Functions | |
OutputMafIterator (MafIterator *iterator, std::ostream *out, bool mask=true) | |
MafBlock * | analyseCurrentBlock_ () throw (Exception) |
void | setLogStream (OutputStream *logstream) |
void | addIterationListener (IterationListener *listener) |
MafBlock * | nextBlock () throw (Exception) |
Get the next available alignment block. More... | |
bool | isVerbose () const |
void | setVerbose (bool yn) |
Protected Member Functions | |
virtual void | fireIterationStartSignal_ () |
virtual void | fireIterationMoveSignal_ (const MafBlock ¤tBlock) |
virtual void | fireIterationStopSignal_ () |
Protected Attributes | |
MafIterator * | iterator_ |
MafBlock * | currentBlock_ |
OutputStream * | logstream_ |
std::vector< IterationListener * > | iterationListeners_ |
bool | started_ |
bool | verbose_ |
Private Member Functions | |
OutputMafIterator (const OutputMafIterator &iterator) | |
OutputMafIterator & | operator= (const OutputMafIterator &iterator) |
void | writeHeader (std::ostream &out) const |
void | writeBlock (std::ostream &out, const MafBlock &block) const |
Private Attributes | |
std::ostream * | output_ |
bool | mask_ |
This iterator forward the iterator given as input after having printed its content to a file.
Definition at line 55 of file OutputMafIterator.h.
|
inline |
Definition at line 63 of file OutputMafIterator.h.
References output_, and writeHeader().
|
inlineprivate |
Definition at line 71 of file OutputMafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
|
inlinevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 86 of file OutputMafIterator.h.
References bpp::AbstractFilterMafIterator::currentBlock_, bpp::AbstractFilterMafIterator::iterator_, bpp::MafIterator::nextBlock(), output_, and writeBlock().
|
protectedvirtualinherited |
Definition at line 57 of file MafIterator.cpp.
|
protectedvirtualinherited |
Definition at line 51 of file MafIterator.cpp.
|
protectedvirtualinherited |
Definition at line 63 of file MafIterator.cpp.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 116 of file MafIterator.h.
|
inlinevirtualinherited |
Get the next available alignment block.
Implements bpp::MafIterator.
Definition at line 103 of file MafIterator.h.
|
inlineprivate |
Definition at line 77 of file OutputMafIterator.h.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
|
private |
Definition at line 60 of file OutputMafIterator.cpp.
References bpp::MafSequence::getGenomicSize(), bpp::MafBlock::getNumberOfSequences(), bpp::MafBlock::getPass(), bpp::MafBlock::getScore(), bpp::MafBlock::getSequence(), bpp::MafSequence::getSrcSize(), bpp::MafSequence::getStrand(), bpp::MafSequence::hasCoordinates(), and bpp::MafSequence::start().
Referenced by analyseCurrentBlock_().
|
private |
Definition at line 54 of file OutputMafIterator.cpp.
Referenced by OutputMafIterator().
|
protectedinherited |
Definition at line 154 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), and bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_().
|
protectedinherited |
Definition at line 89 of file MafIterator.h.
|
protectedinherited |
Definition at line 153 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
protectedinherited |
Definition at line 155 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
private |
Definition at line 60 of file OutputMafIterator.h.
Referenced by operator=().
|
private |
Definition at line 59 of file OutputMafIterator.h.
Referenced by analyseCurrentBlock_(), operator=(), and OutputMafIterator().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
|
protectedinherited |
Definition at line 91 of file MafIterator.h.