#include <zstream.h>
Public Member Functions | |
GZipStream () | |
GZipStream constructor. | |
~GZipStream () | |
GZipStream destructor. | |
Public Attributes | |
z_stream | stream |
INT32 | z_err |
INT32 | z_eof |
iostream * | file |
Byte * | inbuf |
Byte * | outbuf |
uLong | crc |
char * | msg |
TCHAR * | path |
INT32 | transparent |
char | mode |
BOOL | Peek |
char | PeekedValue |
INT32 | PeekStatus |
FilePos | InitialPos |
BOOL | Inited |
Private Member Functions | |
CC_DECLARE_MEMDUMP (GZipStream) |
Definition at line 184 of file zstream.h.
|
GZipStream constructor.
Definition at line 233 of file zstream.cpp. 00234 { 00235 z_err = Z_OK; 00236 z_eof = 0; 00237 00238 file = NULL; 00239 inbuf = NULL; 00240 outbuf = NULL; 00241 00242 crc = 0; 00243 crc = GZipFile::crc32(0L, NULL, 0); 00244 msg = NULL; 00245 path = NULL; 00246 transparent = 0; 00247 00248 Peek = FALSE; // no value peeked 00249 PeekedValue = '#'; // random value 00250 PeekStatus = Z_OK; // status ok 00251 00252 InitialPos = 0; 00253 00254 Inited = FALSE; 00255 }
|
|
GZipStream destructor.
Definition at line 267 of file zstream.cpp. 00268 { 00269 // Try and free up the buffers that we have allocated 00270 TRYFREE(inbuf); 00271 TRYFREE(outbuf); 00272 TRYFREE(path); 00273 TRYFREE(msg); 00274 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|