#include <bzip2.hpp>
Inheritance diagram for CBZip2CompressionFile:


Definition at line 179 of file bzip2.hpp.
Public Member Functions | |
| CBZip2CompressionFile (const string &file_name, EMode mode, ELevel level=eLevel_Default, int verbosity=0, int work_factor=0, int small_decompress=0) | |
| Constructor. | |
| CBZip2CompressionFile (ELevel level=eLevel_Default, int verbosity=0, int work_factor=0, int small_decompress=0) | |
| Conventional constructor. | |
| ~CBZip2CompressionFile (void) | |
| virtual bool | Open (const string &file_name, EMode mode) |
| virtual long | Read (void *buf, size_t len) |
| virtual long | Write (const void *buf, size_t len) |
| virtual bool | Close (void) |
Protected Attributes | |
| FILE * | m_FileStream |
| Underlying file stream. | |
| bool | m_EOF |
| EOF flag for read mode. | |
|
||||||||||||||||||||||||||||
|
Constructor. For a special parameters description see CBZip2Compression. Definition at line 286 of file bzip2.cpp. References CCompressionFile::eMode_Read, NCBI_THROW, and Open(). |
|
||||||||||||||||||||
|
Conventional constructor. For a special parameters description see CBZip2Compression. |
|
|
Definition at line 311 of file bzip2.cpp. References Close(). |
|
|
Implements CCompressionFile. Definition at line 405 of file bzip2.cpp. References BZ2_bzReadClose(), BZ2_bzWriteClose(), BZ_OK, CCompressionFile::eMode_Read, ERR_COMPRESS, CBZip2Compression::FormatErrorMessage(), CBZip2Compression::GetBZip2ErrorDescription(), m_EOF, CCompressionFile::m_File, m_FileStream, CCompressionFile::m_Mode, and CCompression::SetError(). Referenced by Open(), and ~CBZip2CompressionFile(). |
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
Implements CCompressionFile. Definition at line 387 of file bzip2.cpp. References BZ2_bzWrite(), BZ_OK, BZ_STREAM_END, ERR_COMPRESS, CBZip2Compression::FormatErrorMessage(), CBZip2Compression::GetBZip2ErrorDescription(), LIMIT_SIZE_PARAM, CCompressionFile::m_File, and CCompression::SetError(). |
|
|
EOF flag for read mode.
|
|
|
Underlying file stream.
|
1.4.6
Modified on Sun Sep 07 17:26:46 2008 by modify_doxy.py rev. 117643