Octane v1.01.20 - The Open Compression Toolkit for C++ http://octane.sourceforge.net/
Homepage | Main | Modules | Class Hierarchy | Compound List | File List | Compound Members | Related Pages

compressors/compressor_mtfll/mtfll.hpp

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 #ifndef mtfllH
00013 #define mtfllH
00014 
00015 #include "../compressor.hpp"
00016 
00025 class mtfllCompressor : public OctaneCompressor
00026 {
00027 public:
00028         mtfllCompressor(bool registerme = false);
00029         ~mtfllCompressor() {;};
00030 
00031         virtual std::string GetClassName() {return "mtfll";}
00032         virtual std::string GetDescription() {return "Move To Front using linked list";}
00033 
00034         virtual OctaneCompressor *MakeCompressorInstantiation() {return new mtfllCompressor();};
00035 
00036 protected:
00037         virtual bool DoProtectedCompress(bitreader &s, bitwriter &d);
00038         virtual bool DoProtectedDecompress(bitreader &s, bitwriter &d);
00039 };
00040 
00041 #endif
 
Generated on 20 May 2004 by doxygen 1.3.3