All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
piecePairRawEval.h
Go to the documentation of this file.
1 /* piecePairRawEval.h
2  */
3 #ifndef EVAL_PPAIR_PIECEPAIRRAWEVAL_H
4 #define EVAL_PPAIR_PIECEPAIRRAWEVAL_H
5 
8 
9 namespace osl
10 {
11  namespace eval
12  {
13  namespace ppair
14  {
15  class PiecePairRawTable : public PiecePairTable<signed char>
16  {
17  public:
24  bool setUp(const char *filename) const;
31  bool loadFromBinaryFile(const char *filename) const;
38  void writeInBinaryFile(const char *filename) const;
39 
41  static const PiecePairRawTable Table;
42  };
43 
47  class PiecePairRawEval : public PiecePairEval<PiecePairRawEval,PiecePairRawTable>
48  {
49  public:
51  explicit PiecePairRawEval(const SimpleState& state)
52  : base_t(state)
53  {
54  }
55  };
56  } // namespace ppair
57  using ppair::PiecePairRawTable;
58  using ppair::PiecePairRawEval;
59  } // namespace eval
60 } // namespace osl
61 
62 
63 #endif /* EVAL_PPAIR_PIECEPAIRRAWEVAL_H */
64 // ;;; Local Variables:
65 // ;;; mode:c++
66 // ;;; c-basic-offset:2
67 // ;;; End: