Simple class to write data directly into Qt's QIODevice. More...
#include <Stream.h>
Public Member Functions | |
IODeviceOStreambuf (QIODevice *dev) | |
~IODeviceOStreambuf () | |
Protected Member Functions | |
virtual int_type | overflow (std::streambuf::int_type v) |
virtual pos_type | seekoff (std::streambuf::off_type off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios::in|std::ios::out) |
virtual pos_type | seekpos (std::streambuf::pos_type sp, std::ios_base::openmode which=std::ios::in|std::ios::out) |
virtual std::streamsize | xsputn (const char *s, std::streamsize num) |
Protected Attributes | |
QIODevice * | device |
Simple class to write data directly into Qt's QIODevice.
This class can only be used for writing but not reading purposes.
IODeviceOStreambuf::IODeviceOStreambuf | ( | QIODevice * | dev | ) |
IODeviceOStreambuf::~IODeviceOStreambuf | ( | ) |
|
protectedvirtual |
References device.
|
protectedvirtual |
|
protectedvirtual |
References seekoff().
|
protectedvirtual |
References device.
|
protected |
Referenced by overflow(), seekoff(), and xsputn().