svcore
1.9
|
#include <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 |
Definition at line 23 of file BZipFileDevice.h.
BZipFileDevice::BZipFileDevice | ( | QString | fileName | ) |
Definition at line 24 of file BZipFileDevice.cpp.
BZipFileDevice::~BZipFileDevice | ( | ) | [virtual] |
Definition at line 33 of file BZipFileDevice.cpp.
bool BZipFileDevice::open | ( | OpenMode | mode | ) | [virtual] |
Definition at line 46 of file BZipFileDevice.cpp.
References m_atEnd, m_bzFile, m_file, m_fileName, and m_ok.
void BZipFileDevice::close | ( | ) | [virtual] |
Definition at line 135 of file BZipFileDevice.cpp.
References m_bzFile, m_file, and m_ok.
Referenced by ~BZipFileDevice().
bool BZipFileDevice::isOK | ( | ) | const [virtual] |
Definition at line 40 of file BZipFileDevice.cpp.
References m_ok.
virtual bool BZipFileDevice::isSequential | ( | ) | const [inline, virtual] |
Definition at line 36 of file BZipFileDevice.h.
qint64 BZipFileDevice::readData | ( | char * | data, |
qint64 | maxSize | ||
) | [protected, virtual] |
Definition at line 176 of file BZipFileDevice.cpp.
qint64 BZipFileDevice::writeData | ( | const char * | data, |
qint64 | maxSize | ||
) | [protected, virtual] |
Definition at line 201 of file BZipFileDevice.cpp.
QString BZipFileDevice::m_fileName [protected] |
Definition at line 42 of file BZipFileDevice.h.
Referenced by open().
FILE* BZipFileDevice::m_file [protected] |
Definition at line 44 of file BZipFileDevice.h.
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] |
Definition at line 46 of file BZipFileDevice.h.
Referenced by open(), and readData().
bool BZipFileDevice::m_ok [protected] |
Definition at line 47 of file BZipFileDevice.h.
Referenced by close(), isOK(), open(), readData(), and writeData().