Stream access buffered through BinaryBufferOstream, can be used to work around limitations of underlying stream (in particular, missing support of tellp/seekp).
More...
#include <serialization/BinarySerializer.h>
|
void | reassign (typename BinaryStream::streambuffer_pointer buffer) |
| Reassigns the specified stream buffer to this (serializer). More...
|
|
template<typename BinaryStream>
class mira::StreamAccessMixin< BinaryStream, true >
Stream access buffered through BinaryBufferOstream, can be used to work around limitations of underlying stream (in particular, missing support of tellp/seekp).
◆ StreamType
The type of stream the serializer writes to (the buffer stream here).
◆ StreamAccessMixin() [1/2]
◆ StreamAccessMixin() [2/2]
◆ ~StreamAccessMixin()
◆ stream()
Get access to the read/write stream, returns reference to buffer stream (overriding the base class' stream() method which provides access to underlying stream).
◆ flushBuffer()
Flush buffer stream to underlying stream.
◆ reassign()
void reassign |
( |
typename BinaryStream::streambuffer_pointer |
buffer | ) |
|
|
inlineinherited |
Reassigns the specified stream buffer to this (serializer).
The stream buffer usually is specified in the constructor. This method can be used to change the assigned buffer.
The documentation for this class was generated from the following file: