Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

LZHLEncoderStat Class Reference

#include <LZHLEncoderStat.hpp>

Inheritance diagram for LZHLEncoderStat::

HuffStat List of all members.

Public Methods

 LZHLEncoderStat ()
 ~LZHLEncoderStat ()
void calcStat (int *groups)

Public Attributes

int nextStat
SymbolsymbolTable

Static Public Attributes

Symbol symbolTable0 []

Static Private Methods

void _addGroup (int *groups, int group, int nBits)

Constructor & Destructor Documentation

LZHLEncoderStat::LZHLEncoderStat  
 

Definition at line 4 of file LZHLEncoderStat.cpp.

00005 {
00006   nextStat = HUFFRECALCLEN;
00007   symbolTable = new Symbol[ NHUFFSYMBOLS ];
00008   memcpy( symbolTable, symbolTable0, sizeof(Symbol)*NHUFFSYMBOLS );
00009 }

LZHLEncoderStat::~LZHLEncoderStat  
 

Definition at line 11 of file LZHLEncoderStat.cpp.

00012 {
00013   delete [] symbolTable;
00014 }


Member Function Documentation

void LZHLEncoderStat::_addGroup int   groups,
int    group,
int    nBits
[inline, static, private]
 

Definition at line 294 of file LZHLEncoderStat.cpp.

void LZHLEncoderStat::calcStat int   groups
 

Definition at line 305 of file LZHLEncoderStat.cpp.

Referenced by LZHLEncoder::_callStat().


Member Data Documentation

int LZHLEncoderStat::nextStat
 

Definition at line 22 of file LZHLEncoderStat.hpp.

Symbol* LZHLEncoderStat::symbolTable
 

Definition at line 25 of file LZHLEncoderStat.hpp.

Referenced by LZHLEncoder::_put().

LZHLEncoderStat::Symbol LZHLEncoderStat::symbolTable0 [static]
 

Definition at line 16 of file LZHLEncoderStat.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Oct 14 18:49:17 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001