Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
move_classifier
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
5
#include "
osl/state/numEffectState.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
}
24
using
move_classifier::Classifier
;
25
}
26
27
#endif
/* OSL_MOVE_CLASSIFIER_CLASSIFIER_H */
28
// ;;; Local Variables:
29
// ;;; mode:c++
30
// ;;; c-basic-offset:2
31
// ;;; End:
Generated on Sun Jul 21 2013 13:37:23 by
1.8.4