Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SimpleDecoderBase.hpp

Go to the documentation of this file.
00001 #ifndef SimpleDecoderBase_HPP
00002 #define SimpleDecoderBase_HPP
00003 
00008 #include "io/codec/decoder/DecoderBase.hpp"
00009 #include "io/output/normal/BufferedNormalOutput.hpp" 
00010 #include <vector>
00011 
00020 template <class O = BufferedNormalOutput<> >
00021 class SimpleDecoderBase : public DecoderBase<O>
00022 {
00023    public:
00024       SimpleDecoderBase(const typename DecoderBase<O>::params_t* par)
00025          : DecoderBase<O>(par){}
00026       void setCodeInverse(const std::vector<item_t>& code_inverse)
00027       {  
00028          this->code_inverse.insert( this->code_inverse.end(),
00029                                     code_inverse.begin(), code_inverse.end());
00030       }  
00031       
00032    protected:
00039       std::vector<item_t> code_inverse;
00040 };
00041 
00042 
00043 #endif

Generated on Sun Sep 17 17:50:39 2006 for FIM environment by  doxygen 1.4.4