bpp-seq3
3.0.0
|
A sequence iterator based on a sequence stream. More...
#include <Bpp/Seq/Io/StreamSequenceIterator.h>
Public Member Functions | |
StreamSequenceWithQualityIterator (ISequenceStream &seqStream, std::istream &stream, const Alphabet *alphabet) | |
virtual | ~StreamSequenceWithQualityIterator () |
virtual SequenceWithQuality * | nextSequence () |
virtual bool | hasMoreSequences () const |
Private Member Functions | |
StreamSequenceWithQualityIterator (const StreamSequenceWithQualityIterator &ssi) | |
StreamSequenceWithQualityIterator & | operator= (const StreamSequenceWithQualityIterator &ssi) |
Private Attributes | |
const Alphabet * | alphabet_ |
const ISequenceStream * | seqStream_ |
std::istream * | stream_ |
SequenceWithQuality * | nextSeq_ |
A sequence iterator based on a sequence stream.
This iterator uses a bpp::SequenceWithQuality object for storing sequences.
Definition at line 100 of file StreamSequenceIterator.h.
StreamSequenceWithQualityIterator::StreamSequenceWithQualityIterator | ( | ISequenceStream & | seqStream, |
std::istream & | stream, | ||
const Alphabet * | alphabet | ||
) |
Definition at line 76 of file StreamSequenceIterator.cpp.
References nextSeq_, bpp::ISequenceStream::nextSequence(), seqStream_, and stream_.
|
inlinevirtual |
Definition at line 112 of file StreamSequenceIterator.h.
|
inlineprivate |
Definition at line 116 of file StreamSequenceIterator.h.
|
inlinevirtual |
Implements bpp::SequenceIterator.
Definition at line 134 of file StreamSequenceIterator.h.
References nextSeq_.
|
virtual |
Implements bpp::SequenceWithQualityIterator.
Definition at line 90 of file StreamSequenceIterator.cpp.
References alphabet_, nextSeq_, bpp::ISequenceStream::nextSequence(), seqStream_, and stream_.
|
inlineprivate |
Definition at line 122 of file StreamSequenceIterator.h.
References alphabet_, nextSeq_, seqStream_, and stream_.
|
private |
Definition at line 104 of file StreamSequenceIterator.h.
Referenced by nextSequence(), and operator=().
|
private |
Definition at line 107 of file StreamSequenceIterator.h.
Referenced by hasMoreSequences(), nextSequence(), operator=(), and StreamSequenceWithQualityIterator().
|
private |
Definition at line 105 of file StreamSequenceIterator.h.
Referenced by nextSequence(), operator=(), and StreamSequenceWithQualityIterator().
|
private |
Definition at line 106 of file StreamSequenceIterator.h.
Referenced by nextSequence(), operator=(), and StreamSequenceWithQualityIterator().