利きのないところへ動くためのフィルタ More...
#include <noEffectFilter.h>
Public Member Functions | |
NoEffectFilter (const NumEffectState &s, OrigAction &action, Square pos) | |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player, Move m) |
void | unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player, Move m) |
void | dropMove (Square to, Ptype ptype, Player, Move m) |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p) |
void | unknownMove (Square from, Square to, Piece captured, Ptype ptype, bool isPromote, Player p) |
void | dropMove (Square to, Ptype ptype, Player p) |
Private Member Functions | |
BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept) | |
Private Attributes | |
const NumEffectState & | state |
OrigAction & | action |
Square | removed |
利きのないところへ動くためのフィルタ
Definition at line 16 of file noEffectFilter.h.
|
inline |
Definition at line 23 of file noEffectFilter.h.
|
private |
|
inline |
ここは呼ばれないはず
Definition at line 33 of file noEffectFilter.h.
References osl::move_action::NoEffectFilter< P, OrigAction >::action, osl::move_action::NoEffectFilter< P, OrigAction >::removed, and osl::move_action::NoEffectFilter< P, OrigAction >::state.
Referenced by osl::move_action::NoEffectFilter< P, OrigAction >::dropMove().
|
inline |
Definition at line 51 of file noEffectFilter.h.
References osl::move_action::NoEffectFilter< P, OrigAction >::dropMove().
|
inline |
Definition at line 24 of file noEffectFilter.h.
References osl::move_action::NoEffectFilter< P, OrigAction >::action, osl::move_action::NoEffectFilter< P, OrigAction >::removed, and osl::move_action::NoEffectFilter< P, OrigAction >::state.
Referenced by osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove().
|
inline |
Definition at line 39 of file noEffectFilter.h.
References osl::PTYPE_EMPTY, and osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove().
|
inline |
Definition at line 28 of file noEffectFilter.h.
References osl::move_action::NoEffectFilter< P, OrigAction >::action, osl::move_action::NoEffectFilter< P, OrigAction >::removed, and osl::move_action::NoEffectFilter< P, OrigAction >::state.
Referenced by osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove().
|
inline |
Definition at line 45 of file noEffectFilter.h.
References osl::Piece::ptype(), and osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove().
|
private |
Definition at line 20 of file noEffectFilter.h.
Referenced by osl::move_action::NoEffectFilter< P, OrigAction >::dropMove(), osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove(), and osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove().
|
private |
Definition at line 21 of file noEffectFilter.h.
Referenced by osl::move_action::NoEffectFilter< P, OrigAction >::dropMove(), osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove(), and osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove().
|
private |
Definition at line 19 of file noEffectFilter.h.
Referenced by osl::move_action::NoEffectFilter< P, OrigAction >::dropMove(), osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove(), and osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove().