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 zleH 00013 #define zleH 00014 00015 #include "../compressor.hpp" 00016 00022 class zleCompressor : public OctaneCompressor 00023 { 00024 public: 00025 zleCompressor(bool registerme = false); 00026 ~zleCompressor() {;}; 00027 00028 virtual std::string GetClassName() {return "zle";} 00029 virtual std::string GetDescription() {return "Zero length encoding";} 00030 00031 virtual OctaneCompressor *MakeCompressorInstantiation() {return new zleCompressor();}; 00032 00033 protected: 00034 virtual bool DoProtectedCompress(bitreader &s, bitwriter &d); 00035 virtual bool DoProtectedDecompress(bitreader &s, bitwriter &d); 00036 }; 00037 00038 #endif