All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
classifier.h
Go to the documentation of this file.
1 /* classifier.h
2  */
3 #ifndef OSL_MOVE_CLASSIFIER_CLASSIFIER_H
4 #define OSL_MOVE_CLASSIFIER_CLASSIFIER_H
6 namespace osl
7 {
8  namespace move_classifier
9  {
10  struct Classifier
11  {
12  static bool isSafeMove(const NumEffectState& state, Move move)
13 #ifdef __GNUC__
14  __attribute__ ((pure))
15 #endif
16  ;
17  static bool isCheck(const NumEffectState& state, Move move)
18 #ifdef __GNUC__
19  __attribute__ ((pure))
20 #endif
21  ;
22  };
23  }
25 }
26 
27 #endif /* OSL_MOVE_CLASSIFIER_CLASSIFIER_H */
28 // ;;; Local Variables:
29 // ;;; mode:c++
30 // ;;; c-basic-offset:2
31 // ;;; End: