z_stream Class Reference

A file stream compressor and decompressor. Allows the CCDiskFile to offer compression of files. At present just used to compress the native file format. More...

#include <zstream.h>

List of all members.

Public Member Functions

 z_stream ()
 ZStream constructor.
 ~z_stream ()
 ZStream destructor.

Public Attributes

char * zlib_version
Bytenext_in
uInt avail_in
uLong total_in
Bytenext_out
uInt avail_out
uLong total_out
char * msg
InflateStateIn_state
DeflateStateDe_state
alloc_func zalloc
free_func zfree
void * opaque
Byte data_type
uLong adler
uLong reserved

Private Member Functions

 CC_DECLARE_MEMDUMP (z_stream)


Detailed Description

A file stream compressor and decompressor. Allows the CCDiskFile to offer compression of files. At present just used to compress the native file format.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> Humprhys
Date:
23/5/95

Definition at line 124 of file zstream.h.


Constructor & Destructor Documentation

z_stream::z_stream  ) 
 

ZStream constructor.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
34/05/95

Definition at line 169 of file zstream.cpp.

00170 {
00171     next_in = NULL;
00172     avail_in = 0;
00173     total_in = 0;   
00174 
00175     next_out = NULL;
00176     avail_out = 0;
00177     total_out = 0;  
00178 
00179     msg = NULL;
00180 
00181     In_state = NULL;
00182     De_state = NULL;
00183 
00184     zalloc = (alloc_func)0;
00185     zfree = (free_func)0;
00186 
00187     data_type = Z_BINARY;
00188     adler = 0;
00189     reserved = 0;
00190 
00191     zlib_version = ZLIB_VERSION;
00192 }   

z_stream::~z_stream  ) 
 

ZStream destructor.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
34/05/95

Definition at line 204 of file zstream.cpp.

00205 {
00206     if (In_state)
00207     {
00208         delete In_state;
00209         In_state = NULL;        
00210     }
00211 #ifdef DO_EXPORT
00212     if (De_state)
00213     {
00214         delete De_state;
00215         De_state = NULL;        
00216     }
00217 #endif
00218 }   


Member Function Documentation

z_stream::CC_DECLARE_MEMDUMP z_stream   )  [private]
 


Member Data Documentation

uLong z_stream::adler
 

Definition at line 161 of file zstream.h.

uInt z_stream::avail_in
 

Definition at line 145 of file zstream.h.

uInt z_stream::avail_out
 

Definition at line 149 of file zstream.h.

Byte z_stream::data_type
 

Definition at line 160 of file zstream.h.

DeflateState* z_stream::De_state
 

Definition at line 154 of file zstream.h.

InflateState* z_stream::In_state
 

Definition at line 153 of file zstream.h.

char* z_stream::msg
 

Definition at line 152 of file zstream.h.

Byte* z_stream::next_in
 

Definition at line 144 of file zstream.h.

Byte* z_stream::next_out
 

Definition at line 148 of file zstream.h.

void* z_stream::opaque
 

Definition at line 158 of file zstream.h.

uLong z_stream::reserved
 

Definition at line 162 of file zstream.h.

uLong z_stream::total_in
 

Definition at line 146 of file zstream.h.

uLong z_stream::total_out
 

Definition at line 150 of file zstream.h.

alloc_func z_stream::zalloc
 

Definition at line 156 of file zstream.h.

free_func z_stream::zfree
 

Definition at line 157 of file zstream.h.

char* z_stream::zlib_version
 

Definition at line 141 of file zstream.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:03:28 2007 for Camelot by  doxygen 1.4.4