List of all members |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Static Protected Attributes
Base::IODeviceIStreambuf Class Reference
Simple class to read data directly from Qt's QIODevice. More...
#include <Stream.h>
Public Member Functions | |
IODeviceIStreambuf (QIODevice *dev) | |
~IODeviceIStreambuf () | |
Protected Member Functions | |
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 int_type | underflow () |
Protected Attributes | |
char | buffer [bufSize+pbSize] |
QIODevice * | device |
Static Protected Attributes | |
static const int | bufSize = 1024 |
static const int | pbSize = 4 |
Detailed Description
Simple class to read data directly from Qt's QIODevice.
This class can only be used for readihg but not writing purposes.
Constructor & Destructor Documentation
◆ IODeviceIStreambuf()
IODeviceIStreambuf::IODeviceIStreambuf | ( | QIODevice * | dev | ) |
References pbSize.
◆ ~IODeviceIStreambuf()
IODeviceIStreambuf::~IODeviceIStreambuf | ( | ) |
Member Function Documentation
◆ seekoff()
|
protectedvirtual |
◆ seekpos()
|
protectedvirtual |
References seekoff().
◆ underflow()
|
protectedvirtual |
Member Data Documentation
◆ buffer
◆ bufSize
|
staticprotected |
◆ device
|
protected |
Referenced by seekoff(), and underflow().
◆ pbSize
|
staticprotected |
Referenced by IODeviceIStreambuf(), and underflow().
The documentation for this class was generated from the following files:
- src/Base/Stream.h
- src/Base/Stream.cpp