bpp-seq-omics
2.4.1
|
A MafIterator built from a sequence stream. More...
#include <Bpp/Seq/Io/Maf/SequenceStreamToMafIterator.h>
Public Member Functions | |
SequenceStreamToMafIterator (ISequenceStream *seqStream, std::istream *stream, bool parseMask=false, bool zeroBasedCoordinates=true) | |
void | addIterationListener (IterationListener *listener) |
MafBlock * | nextBlock () |
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 | |
std::vector< IterationListener * > | iterationListeners_ |
bool | started_ |
bool | verbose_ |
Private Member Functions | |
SequenceStreamToMafIterator (const SequenceStreamToMafIterator &ss2mi) | |
SequenceStreamToMafIterator & | operator= (const SequenceStreamToMafIterator &ss2mi) |
MafBlock * | analyseCurrentBlock_ () |
Private Attributes | |
std::unique_ptr< ISequenceStream > | seqStream_ |
std::istream * | stream_ |
bool | zeroBasedCoords_ |
bool | firstBlock_ |
A MafIterator built from a sequence stream.
Each block will contain one sequence from the original file.
Definition at line 60 of file SequenceStreamToMafIterator.h.
|
inline |
Definition at line 70 of file SequenceStreamToMafIterator.h.
|
inlineprivate |
Definition at line 75 of file SequenceStreamToMafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
References bpp::AbstractMafIterator::iterationListeners_.
|
privatevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 47 of file SequenceStreamToMafIterator.cpp.
References bpp::SequenceWithAnnotation::getName(), bpp::StringTokenizer::nextToken(), bpp::StringTokenizer::numberOfRemainingTokens(), bpp::MafSequence::setName(), bpp::MafSequence::setStart(), bpp::MafSequence::setStrand(), and bpp::SequenceWithAnnotation::size().
|
protectedvirtualinherited |
Definition at line 57 of file MafIterator.cpp.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
protectedvirtualinherited |
Definition at line 51 of file MafIterator.cpp.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
protectedvirtualinherited |
Definition at line 63 of file MafIterator.cpp.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 116 of file MafIterator.h.
References bpp::AbstractMafIterator::verbose_.
|
inlinevirtualinherited |
Get the next available alignment block.
Implements bpp::MafIterator.
Definition at line 103 of file MafIterator.h.
References bpp::AbstractMafIterator::analyseCurrentBlock_(), bpp::AbstractMafIterator::fireIterationMoveSignal_(), bpp::AbstractMafIterator::fireIterationStartSignal_(), bpp::AbstractMafIterator::fireIterationStopSignal_(), and bpp::AbstractMafIterator::started_.
|
inlineprivate |
Definition at line 77 of file SequenceStreamToMafIterator.h.
References firstBlock_, seqStream_, stream_, and zeroBasedCoords_.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
References bpp::AbstractMafIterator::verbose_.
|
private |
Definition at line 67 of file SequenceStreamToMafIterator.h.
Referenced by operator=().
|
protectedinherited |
Definition at line 89 of file MafIterator.h.
Referenced by bpp::AbstractMafIterator::addIterationListener().
|
private |
Definition at line 64 of file SequenceStreamToMafIterator.h.
Referenced by operator=().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
private |
Definition at line 65 of file SequenceStreamToMafIterator.h.
Referenced by operator=().
|
protectedinherited |
Definition at line 91 of file MafIterator.h.
Referenced by bpp::AbstractMafIterator::isVerbose(), and bpp::AbstractMafIterator::setVerbose().
|
private |
Definition at line 66 of file SequenceStreamToMafIterator.h.
Referenced by operator=().