Class BufferedStream
Adds a buffer to another stream.

Implements StreamConcept
All Impl'd StreamConcept
Defined in <seqan/stream.h>
Signature template <typename TUnbufferedStream, TDirection> class BufferedStream;

Template Parameters

TUnbufferedStream The type of the unbuffered stream to wrap.
TDirection The stream direction, one of DirectionTags.

Member Function Overview

Interface Function Overview

Interface Functions Inherited From StreamConcept

Interface Metafunction Overview

Interface Metafunctions Inherited From StreamConcept

Member Functions Detail

BufferedStream::BufferedStream(); BufferedStream::BufferedStream(unbufferedStream);

Default constructor and construction from to-be-wrapped unbuffered stream.

Parameters

stream The to-be-wrapped stream.

Data Races

Thread safety unknown!

void BufferedStream::setStream(stream);

Set the underlying stream to wrap.

Parameters

stream The TUnbufferedStream to use.

Data Races

Thread safety unknown!

void BufferedStream::setStreamBuf(streamBuf);

Set the stream buffer of the BufferedStream.

Parameters

streamBuf The std::basic_streambuf<> to use.

Data Races

Thread safety unknown!