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

C:/temp/src/j2k/LZH/LZHLDecoderStat.cpp

Go to the documentation of this file.
00001 #ifndef __J2K__LZH__LZHLDecoderStat_CPP__
00002 #define __J2K__LZH__LZHLDecoderStat_CPP__
00003 
00004 LZHLDecoderStat::LZHLDecoderStat() {
00005   symbolTable = new HUFFINT[ NHUFFSYMBOLS ];
00006   memcpy( symbolTable, symbolTable0, sizeof(HUFFINT)*NHUFFSYMBOLS );
00007   memcpy( groupTable,  groupTable0,  sizeof(Group)*16 );
00008 }
00009 
00010 LZHLDecoderStat::~LZHLDecoderStat() {
00011   delete [] symbolTable;
00012 }
00013 
00014 LZHLDecoderStat::Group LZHLDecoderStat::groupTable0[ 16 ] =  {
00015   #include <j2k/LZH/Table/hdec_g.tbl>
00016 };
00017 
00018 HUFFINT LZHLDecoderStat::symbolTable0[ NHUFFSYMBOLS ] =  {
00019   #include <j2k/LZH/Table/hdec_s.tbl>
00020 };
00021 
00022 #endif

Generated on Sun Oct 14 18:46:33 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001