利きのないところへ動くためのフィルタ 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.
| osl::move_action::NoEffectFilter< P, OrigAction >::NoEffectFilter | ( | const NumEffectState & | s, |
| OrigAction & | action, | ||
| Square | pos | ||
| ) | [inline] |
Definition at line 23 of file noEffectFilter.h.
| osl::move_action::NoEffectFilter< P, OrigAction >::BOOST_CLASS_REQUIRE | ( | OrigAction | , |
| osl::move_action | , | ||
| Concept | |||
| ) | [private] |
| void osl::move_action::NoEffectFilter< P, OrigAction >::dropMove | ( | Square | to, |
| Ptype | ptype, | ||
| Player | , | ||
| Move | m | ||
| ) | [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().
| void osl::move_action::NoEffectFilter< P, OrigAction >::dropMove | ( | Square | to, |
| Ptype | ptype, | ||
| Player | p | ||
| ) | [inline] |
Definition at line 51 of file noEffectFilter.h.
References osl::move_action::NoEffectFilter< P, OrigAction >::dropMove().
| void osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove | ( | Square | from, |
| Square | to, | ||
| Ptype | ptype, | ||
| bool | isPromote, | ||
| Player | , | ||
| Move | m | ||
| ) | [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().
| void osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove | ( | Square | from, |
| Square | to, | ||
| Ptype | ptype, | ||
| bool | isPromote, | ||
| Player | p | ||
| ) | [inline] |
Definition at line 39 of file noEffectFilter.h.
References osl::PTYPE_EMPTY, and osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove().
| void osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove | ( | Square | from, |
| Square | to, | ||
| Piece | p1, | ||
| Ptype | ptype, | ||
| bool | isPromote, | ||
| Player | , | ||
| Move | m | ||
| ) | [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().
| void osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove | ( | Square | from, |
| Square | to, | ||
| Piece | captured, | ||
| Ptype | ptype, | ||
| bool | isPromote, | ||
| Player | p | ||
| ) | [inline] |
Definition at line 45 of file noEffectFilter.h.
References osl::Piece::ptype(), and osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove().
OrigAction& osl::move_action::NoEffectFilter< P, OrigAction >::action [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().
Square osl::move_action::NoEffectFilter< P, OrigAction >::removed [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().
const NumEffectState& osl::move_action::NoEffectFilter< P, OrigAction >::state [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().
1.7.6.1