Spec DoublePassRecordReader
Record reader specialization for double-pass reading.

Extends RecordReader
All Extended RecordReader
All Subcl's StringDoublePassRecordReader
Defined in <seqan/stream.h.
Signature template <typename TStream> class RecordReader<TStream, DoublePass>;

Template Parameters

TStream The StreamConcept type to use for reading.

Member Function Overview

Member Functions Inherited From RecordReader

Interface Function Overview

Interface Functions Inherited From RecordReader

Interface Metafunction Overview

Interface Metafunctions Inherited From RecordReader

Detailed Description

Not default or copy constructable.

Interface Functions Detail

void startFirstPass(reader);

Start the first reading pass.

Parameters

reader The RecordReader to start the first pass with.

Calling this function will memoize the current position in the buffer to return to in second pass.

void startSecondPass(reader);

Start the second reading pass.

Parameters

reader The RecordReader to start the second pass with.

This will reset the position in the buffer.