Octane v1.01.20 - The Open Compression Toolkit for C++ | http://octane.sourceforge.net/ |
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