#include <BZipFileDevice.h>
Definition at line 23 of file BZipFileDevice.h.
Public Member Functions | |
| BZipFileDevice (QString fileName) | |
| virtual | ~BZipFileDevice () |
| virtual bool | open (OpenMode mode) |
| virtual void | close () |
| virtual bool | isOK () const |
| virtual bool | isSequential () const |
Protected Member Functions | |
| virtual qint64 | readData (char *data, qint64 maxSize) |
| virtual qint64 | writeData (const char *data, qint64 maxSize) |
Protected Attributes | |
| QString | m_fileName |
| FILE * | m_file |
| BZFILE * | m_bzFile |
| bool | m_atEnd |
| bool | m_ok |
| BZipFileDevice::BZipFileDevice | ( | QString | fileName | ) |
Definition at line 22 of file BZipFileDevice.cpp.
| BZipFileDevice::~BZipFileDevice | ( | ) | [virtual] |
| bool BZipFileDevice::open | ( | OpenMode | mode | ) | [virtual] |
Definition at line 44 of file BZipFileDevice.cpp.
References m_atEnd, m_bzFile, m_file, m_fileName, and m_ok.
Referenced by MainWindowBase::saveSessionFile().
| void BZipFileDevice::close | ( | ) | [virtual] |
Definition at line 133 of file BZipFileDevice.cpp.
References m_bzFile, m_file, and m_ok.
Referenced by MainWindowBase::saveSessionFile(), and ~BZipFileDevice().
| bool BZipFileDevice::isOK | ( | ) | const [virtual] |
Definition at line 38 of file BZipFileDevice.cpp.
References m_ok.
Referenced by MainWindowBase::saveSessionFile().
| virtual bool BZipFileDevice::isSequential | ( | ) | const [inline, virtual] |
Definition at line 36 of file BZipFileDevice.h.
| qint64 BZipFileDevice::readData | ( | char * | data, | |
| qint64 | maxSize | |||
| ) | [protected, virtual] |
| qint64 BZipFileDevice::writeData | ( | const char * | data, | |
| qint64 | maxSize | |||
| ) | [protected, virtual] |
QString BZipFileDevice::m_fileName [protected] |
FILE* BZipFileDevice::m_file [protected] |
BZFILE* BZipFileDevice::m_bzFile [protected] |
Definition at line 45 of file BZipFileDevice.h.
Referenced by close(), open(), readData(), writeData(), and ~BZipFileDevice().
bool BZipFileDevice::m_atEnd [protected] |
bool BZipFileDevice::m_ok [protected] |
Definition at line 47 of file BZipFileDevice.h.
Referenced by close(), isOK(), open(), readData(), and writeData().
1.5.1