Library: Foundation
Package: Streams
Header: Poco/FIFOBufferStream.h
The base class for FIFOBufferInputStream and FIFOBufferStream.
This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Known Derived Classes: FIFOBufferStream
Member Functions: close, rdbuf
explicit FIFOIOS(
FIFOBuffer & buffer
);
Creates a FIFOIOS and assigns the given buffer to it.
explicit FIFOIOS(
std::size_t length
);
Creates a FIFOIOS of the given length.
explicit FIFOIOS(
char * pBuffer,
std::size_t length
);
Creates a FIFOIOS and assigns the given buffer to it.
explicit FIFOIOS(
const char * pBuffer,
std::size_t length
);
Creates a FIFOIOS and assigns the given buffer to it.
~FIFOIOS();
Destroys the FIFOIOS.
Flushes the buffer.
void close();
Flushes the stream.
FIFOBufferStreamBuf * rdbuf();
Returns a pointer to the internal FIFOBufferStreamBuf.
FIFOBufferStreamBuf _buf;