DeflateState Class Reference

A deflate state object for the deflater for the file compressor and decompressor. More...

#include <zdeflate.h>

List of all members.

Public Member Functions

 DeflateState ()
 DeflateState constructor.
 ~DeflateState ()
 DeflateState destructor.

Public Attributes

z_streamstrm
INT32 status
Bytefpending_buf
Bytefpending_out
INT32 pending
INT32 noheader
Byte data_type
Byte method
INT32 last_flush
uInt w_size
uInt w_bits
uInt w_mask
Bytewindow
ulg window_size
Posprev
Poshead
uInt ins_h
uInt hash_size
uInt hash_bits
uInt hash_mask
uInt hash_shift
INT32 block_start
uInt match_length
IPos prev_match
INT32 match_available
uInt strstart
uInt match_start
uInt lookahead
uInt prev_length
uInt max_chain_length
uInt max_lazy_match
INT32 level
INT32 strategy
uInt good_match
INT32 nice_match
ct_data dyn_ltree [(2 *(256+1+29)+1)]
ct_data dyn_dtree [2 *30+1]
ct_data bl_tree [2 *19+1]
tree_desc l_desc
tree_desc d_desc
tree_desc bl_desc
ush bl_count [15+1]
INT32 heap [2 *(256+1+29)+1]
INT32 heap_len
INT32 heap_max
uch depth [2 *(256+1+29)+1]
uchl_buf
uInt lit_bufsize
uInt last_lit
ushd_buf
ulg opt_len
ulg static_len
ulg compressed_len
uInt matches
INT32 last_eob_len
ush bi_buf
INT32 bi_valid

Private Member Functions

 CC_DECLARE_MEMDUMP (DeflateState)


Detailed Description

A deflate state object for the deflater for the file compressor and decompressor.

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

Definition at line 195 of file zdeflate.h.


Constructor & Destructor Documentation

DeflateState::DeflateState  ) 
 

DeflateState constructor.

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

Definition at line 176 of file zdeflate.cpp.

00177 {
00178     strm = NULL;            /* pointer back to this zlib stream */
00179     pending_buf = NULL;     /* output still pending */
00180     pending_out = NULL;     /* next pending byte to output to the stream */
00181 
00182     window = NULL;          // sliding window usually 2*wSize
00183     prev = NULL;            // Link to older string with same hash index.
00184     head = NULL;            // Heads of the hash chains or NULL.
00185     l_buf = NULL;           // buffer for literals or lengths
00186     d_buf = NULL;           // buffer for distance
00187 
00188     status = 0;
00189     pending = 0;
00190     noheader = 0;
00191     data_type = Z_UNKNOWN;
00192     method = DEFLATED;
00193     last_flush = 0;
00194     w_size = 0;
00195     w_bits = 0;
00196     w_mask = 0;
00197     window_size = 0;
00198     ins_h = 0;
00199     hash_size = 0;
00200     hash_bits = 0;
00201     hash_mask = 0;
00202     hash_shift = 0;
00203     block_start = 0;
00204     match_length = 0;
00205     prev_match = 0;
00206     match_available = 0;
00207     match_start = 0;
00208     block_start = 0;
00209     lookahead = 0;
00210     prev_length = 0;
00211     max_chain_length = 0;
00212     max_lazy_match = 0;
00213     level = 0;
00214     nice_match = 0;
00215     heap_len = 0;
00216     heap_max = 0;
00217     nice_match = 0;
00218     lit_bufsize = 0;
00219     last_lit = 0;
00220     opt_len = 0;
00221     static_len = 0;
00222     compressed_len = 0;
00223     matches = 0;
00224     last_eob_len = 0;
00225 #ifdef DEBUG
00226     bits_sent = 0;
00227 #endif
00228     bi_buf = 0;
00229     bi_valid = 0;
00230 }   

DeflateState::~DeflateState  ) 
 

DeflateState destructor.

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

Definition at line 242 of file zdeflate.cpp.

00243 {
00244     
00245 }   


Member Function Documentation

DeflateState::CC_DECLARE_MEMDUMP DeflateState   )  [private]
 


Member Data Documentation

ush DeflateState::bi_buf
 

Definition at line 370 of file zdeflate.h.

INT32 DeflateState::bi_valid
 

Definition at line 374 of file zdeflate.h.

ush DeflateState::bl_count[15+1]
 

Definition at line 314 of file zdeflate.h.

tree_desc DeflateState::bl_desc
 

Definition at line 312 of file zdeflate.h.

ct_data DeflateState::bl_tree[2 *19+1]
 

Definition at line 308 of file zdeflate.h.

INT32 DeflateState::block_start
 

Definition at line 260 of file zdeflate.h.

ulg DeflateState::compressed_len
 

Definition at line 359 of file zdeflate.h.

ush* DeflateState::d_buf
 

Definition at line 355 of file zdeflate.h.

tree_desc DeflateState::d_desc
 

Definition at line 311 of file zdeflate.h.

Byte DeflateState::data_type
 

Definition at line 215 of file zdeflate.h.

uch DeflateState::depth[2 *(256+1+29)+1]
 

Definition at line 324 of file zdeflate.h.

ct_data DeflateState::dyn_dtree[2 *30+1]
 

Definition at line 307 of file zdeflate.h.

ct_data DeflateState::dyn_ltree[(2 *(256+1+29)+1)]
 

Definition at line 306 of file zdeflate.h.

uInt DeflateState::good_match
 

Definition at line 297 of file zdeflate.h.

uInt DeflateState::hash_bits
 

Definition at line 250 of file zdeflate.h.

uInt DeflateState::hash_mask
 

Definition at line 251 of file zdeflate.h.

uInt DeflateState::hash_shift
 

Definition at line 253 of file zdeflate.h.

uInt DeflateState::hash_size
 

Definition at line 249 of file zdeflate.h.

Pos* DeflateState::head
 

Definition at line 246 of file zdeflate.h.

INT32 DeflateState::heap[2 *(256+1+29)+1]
 

Definition at line 317 of file zdeflate.h.

INT32 DeflateState::heap_len
 

Definition at line 318 of file zdeflate.h.

INT32 DeflateState::heap_max
 

Definition at line 319 of file zdeflate.h.

uInt DeflateState::ins_h
 

Definition at line 248 of file zdeflate.h.

uch* DeflateState::l_buf
 

Definition at line 328 of file zdeflate.h.

tree_desc DeflateState::l_desc
 

Definition at line 310 of file zdeflate.h.

INT32 DeflateState::last_eob_len
 

Definition at line 362 of file zdeflate.h.

INT32 DeflateState::last_flush
 

Definition at line 217 of file zdeflate.h.

uInt DeflateState::last_lit
 

Definition at line 350 of file zdeflate.h.

INT32 DeflateState::level
 

Definition at line 294 of file zdeflate.h.

uInt DeflateState::lit_bufsize
 

Definition at line 348 of file zdeflate.h.

uInt DeflateState::lookahead
 

Definition at line 270 of file zdeflate.h.

INT32 DeflateState::match_available
 

Definition at line 267 of file zdeflate.h.

uInt DeflateState::match_length
 

Definition at line 265 of file zdeflate.h.

uInt DeflateState::match_start
 

Definition at line 269 of file zdeflate.h.

uInt DeflateState::matches
 

Definition at line 360 of file zdeflate.h.

uInt DeflateState::max_chain_length
 

Definition at line 277 of file zdeflate.h.

uInt DeflateState::max_lazy_match
 

Definition at line 283 of file zdeflate.h.

Byte DeflateState::method
 

Definition at line 216 of file zdeflate.h.

INT32 DeflateState::nice_match
 

Definition at line 300 of file zdeflate.h.

INT32 DeflateState::noheader
 

Definition at line 214 of file zdeflate.h.

ulg DeflateState::opt_len
 

Definition at line 357 of file zdeflate.h.

INT32 DeflateState::pending
 

Definition at line 211 of file zdeflate.h.

Bytef* DeflateState::pending_buf
 

Definition at line 209 of file zdeflate.h.

Bytef* DeflateState::pending_out
 

Definition at line 210 of file zdeflate.h.

Pos* DeflateState::prev
 

Definition at line 240 of file zdeflate.h.

uInt DeflateState::prev_length
 

Definition at line 272 of file zdeflate.h.

IPos DeflateState::prev_match
 

Definition at line 266 of file zdeflate.h.

ulg DeflateState::static_len
 

Definition at line 358 of file zdeflate.h.

INT32 DeflateState::status
 

Definition at line 208 of file zdeflate.h.

INT32 DeflateState::strategy
 

Definition at line 295 of file zdeflate.h.

z_stream* DeflateState::strm
 

Definition at line 207 of file zdeflate.h.

uInt DeflateState::strstart
 

Definition at line 268 of file zdeflate.h.

uInt DeflateState::w_bits
 

Definition at line 222 of file zdeflate.h.

uInt DeflateState::w_mask
 

Definition at line 223 of file zdeflate.h.

uInt DeflateState::w_size
 

Definition at line 221 of file zdeflate.h.

Byte* DeflateState::window
 

Definition at line 225 of file zdeflate.h.

ulg DeflateState::window_size
 

Definition at line 235 of file zdeflate.h.


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