classifier.h
Go to the documentation of this file.
00001 /* classifier.h
00002  */
00003 #ifndef OSL_MOVE_CLASSIFIER_CLASSIFIER_H
00004 #define OSL_MOVE_CLASSIFIER_CLASSIFIER_H
00005 #include "osl/state/numEffectState.h"
00006 namespace osl
00007 {
00008   namespace move_classifier
00009   {
00010     struct Classifier
00011     {
00012       static bool isSafeMove(const NumEffectState& state, Move move)
00013 #ifdef __GNUC__
00014         __attribute__ ((pure))
00015 #endif
00016         ;
00017       static bool isCheck(const NumEffectState& state, Move move)
00018 #ifdef __GNUC__
00019         __attribute__ ((pure))
00020 #endif
00021         ;
00022     };
00023   }
00024   using move_classifier::Classifier;
00025 }
00026 
00027 #endif /* OSL_MOVE_CLASSIFIER_CLASSIFIER_H */
00028 // ;;; Local Variables:
00029 // ;;; mode:c++
00030 // ;;; c-basic-offset:2
00031 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines