piecePairRawEval.h
Go to the documentation of this file.
00001 /* piecePairRawEval.h
00002  */
00003 #ifndef EVAL_PPAIR_PIECEPAIRRAWEVAL_H
00004 #define EVAL_PPAIR_PIECEPAIRRAWEVAL_H
00005 
00006 #include "osl/eval/ppair/piecePairEval.h"
00007 #include "osl/eval/ppair/piecePairTable.h"
00008 
00009 namespace osl
00010 {
00011   namespace eval
00012   {
00013     namespace ppair
00014     {
00015       class PiecePairRawTable : public PiecePairTable<signed char>
00016       {
00017       public:
00018         PiecePairRawTable();
00019         ~PiecePairRawTable();
00024         bool setUp(const char *filename) const;
00031         bool loadFromBinaryFile(const char *filename) const;
00038         void writeInBinaryFile(const char *filename) const;
00039 
00041         static const PiecePairRawTable Table;
00042       };
00043 
00047       class PiecePairRawEval : public PiecePairEval<PiecePairRawEval,PiecePairRawTable>
00048       {
00049       public:
00050         typedef PiecePairEval<PiecePairRawEval,PiecePairRawTable> base_t;
00051         explicit PiecePairRawEval(const SimpleState& state) 
00052           : base_t(state)
00053         {
00054         }
00055       };
00056     } // namespace ppair
00057     using ppair::PiecePairRawTable;
00058     using ppair::PiecePairRawEval;
00059   } // namespace eval
00060 } // namespace osl
00061 
00062 
00063 #endif /* EVAL_PPAIR_PIECEPAIRRAWEVAL_H */
00064 // ;;; Local Variables:
00065 // ;;; mode:c++
00066 // ;;; c-basic-offset:2
00067 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines