My Project
Public Member Functions | Private Attributes | List of all members
osl::move_action::NoEffectFilter< P, OrigAction > Class Template Reference

利きのないところへ動くためのフィルタ More...

#include <move_action.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 Attributes

const NumEffectStatestate
 
OrigAction & action
 
Square removed
 

Detailed Description

template<Player P, class OrigAction>
class osl::move_action::NoEffectFilter< P, OrigAction >

利きのないところへ動くためのフィルタ

Definition at line 72 of file move_action.h.

Constructor & Destructor Documentation

◆ NoEffectFilter()

template<Player P, class OrigAction >
osl::move_action::NoEffectFilter< P, OrigAction >::NoEffectFilter ( const NumEffectState s,
OrigAction &  action,
Square  pos 
)
inline

Definition at line 78 of file move_action.h.

Member Function Documentation

◆ dropMove() [1/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::dropMove ( Square  to,
Ptype  ptype,
Player  p 
)
inline

◆ dropMove() [2/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::dropMove ( Square  to,
Ptype  ptype,
Player  ,
Move  m 
)
inline

◆ simpleMove() [1/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove ( Square  from,
Square  to,
Ptype  ptype,
bool  isPromote,
Player  p 
)
inline

◆ simpleMove() [2/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove ( Square  from,
Square  to,
Ptype  ptype,
bool  isPromote,
Player  ,
Move  m 
)
inline

◆ unknownMove() [1/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove ( Square  from,
Square  to,
Piece  captured,
Ptype  ptype,
bool  isPromote,
Player  p 
)
inline

◆ unknownMove() [2/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove ( Square  from,
Square  to,
Piece  p1,
Ptype  ptype,
bool  isPromote,
Player  ,
Move  m 
)
inline

Member Data Documentation

◆ action

template<Player P, class OrigAction >
OrigAction& osl::move_action::NoEffectFilter< P, OrigAction >::action
private

◆ removed

template<Player P, class OrigAction >
Square osl::move_action::NoEffectFilter< P, OrigAction >::removed
private

◆ state

template<Player P, class OrigAction >
const NumEffectState& osl::move_action::NoEffectFilter< P, OrigAction >::state
private

The documentation for this class was generated from the following file: