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

modelers/modeler_sample/samplemodeler.hpp

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 //---------------------------------------------------------------------------
00007 
00008 //---------------------------------------------------------------------------
00009 // recursive header protection
00010 #ifndef SampleModelerH
00011 #define SampleModelerH
00012 //---------------------------------------------------------------------------
00013 
00014 //---------------------------------------------------------------------------
00015 // application includes
00016 #include "../modeler_weightvectored.hpp"
00017 // system includes
00018 //---------------------------------------------------------------------------
00019 
00020 
00021 
00022 //---------------------------------------------------------------------------
00028 class SampleModeler : public OctaneModeler_WeightVectored
00029 {
00030 public:
00032         SampleModeler() : OctaneModeler_WeightVectored() {;};
00034         virtual ~SampleModeler() {;}
00035 public:
00036         //---------------------------------------------------------------------------
00037         // OCTANE PUBLIC API - RTTI FUNCTIONS - these are supported by all derived classes
00038         virtual std::string GetName() {return "SampleModeler";}
00039         virtual std::string GetDescription() {return "Fixed Equal-Probability Modeler";}
00040         //---------------------------------------------------------------------------
00041 public:
00042         //---------------------------------------------------------------------------
00043         // MODELLER PUBLIC API - ACCESSOR FOR CODING
00044         virtual bool CreateModelUsingStream(OctaneParser *parserp, bitreader &from) {return CreateModelUsingParser(parserp);};
00045         virtual bool CreateModelUsingParser(OctaneParser *parserp);
00046         //---------------------------------------------------------------------------
00047 };
00048 //---------------------------------------------------------------------------
00049 
00050 
00051 
00052 //---------------------------------------------------------------------------
00053 #endif
00054 //---------------------------------------------------------------------------
00055 
 
Generated on 20 May 2004 by doxygen 1.3.3