39#ifndef BLOCXX_IOIFCSTREAMBUFFER_HPP_INCLUDE_GUARD_
40#define BLOCXX_IOIFCSTREAMBUFFER_HPP_INCLUDE_GUARD_
41#include "blocxx/BLOCXX_config.h"
61 std::streambuf *
tie(std::streambuf * tied_buf);
BaseStreamBuffer(EDirectionFlag direction, size_t bufSize=BASE_BUF_SIZE)
Create a base stream buffer.
IOIFCStreamBuffer(const IOIFCStreamBuffer &arg)
virtual int buffer_to_device(const char *c, int n)
Writes the buffer to the "device".
virtual int buffer_from_device(char *c, int n)
Fill the buffer from the "device".
std::streambuf * tie(std::streambuf *tied_buf)
std::streambuf * m_tied_buf
IOIFCStreamBuffer(IOIFC *dev, int bufSize, const char *direction) BLOCXX_DEPRECATED
void setErrorAction(IOIFC::ErrorAction error_action)
IOIFC::ErrorAction m_error_action