Go to the documentation of this file.00001
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
00028
00029
00030
00031