This class implements the streambuf interface to write data to a QByteArray.
More...
#include <Stream.h>
|
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) |
|
This class implements the streambuf interface to write data to a QByteArray.
This class can only be used for writing but not for reading purposes.
- Author
- Werner Mayer
◆ ByteArrayOStreambuf()
ByteArrayOStreambuf::ByteArrayOStreambuf |
( |
QByteArray & |
ba | ) |
|
|
explicit |
◆ ~ByteArrayOStreambuf()
ByteArrayOStreambuf::~ByteArrayOStreambuf |
( |
| ) |
|
◆ overflow()
std::streambuf::int_type ByteArrayOStreambuf::overflow |
( |
std::streambuf::int_type |
v | ) |
|
|
protectedvirtual |
◆ seekoff()
std::streambuf::pos_type ByteArrayOStreambuf::seekoff |
( |
std::streambuf::off_type |
off, |
|
|
std::ios_base::seekdir |
way, |
|
|
std::ios_base::openmode |
which = std::ios::in | std::ios::out |
|
) |
| |
|
protectedvirtual |
◆ seekpos()
std::streambuf::pos_type ByteArrayOStreambuf::seekpos |
( |
std::streambuf::pos_type |
sp, |
|
|
std::ios_base::openmode |
which = std::ios::in | std::ios::out |
|
) |
| |
|
protectedvirtual |
◆ xsputn()
std::streamsize ByteArrayOStreambuf::xsputn |
( |
const char * |
s, |
|
|
std::streamsize |
num |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following files:
- FreeCAD/src/Base/Stream.h
- FreeCAD/src/Base/Stream.cpp