Base::IODeviceOStreambuf Class Reference
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 |
Detailed Description
Simple class to write data directly into Qt's QIODevice.
This class can only be used for writing but not reading purposes.
Constructor & Destructor Documentation
◆ IODeviceOStreambuf()
IODeviceOStreambuf::IODeviceOStreambuf | ( | QIODevice * | dev | ) |
◆ ~IODeviceOStreambuf()
IODeviceOStreambuf::~IODeviceOStreambuf | ( | ) |
Member Function Documentation
◆ overflow()
|
protectedvirtual |
References device.
◆ seekoff()
|
protectedvirtual |
◆ seekpos()
|
protectedvirtual |
References seekoff().
◆ xsputn()
|
protectedvirtual |
References device.
Member Data Documentation
◆ device
|
protected |
Referenced by overflow(), seekoff(), and xsputn().
The documentation for this class was generated from the following files:
- src/Base/Stream.h
- src/Base/Stream.cpp