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

指定したSquareに利きをつける手をフィルタ More...

#include <move_action.h>

Public Member Functions

 NoAddEffectFilter (const NumEffectState &s, OrigAction &action, Square target)
 
void simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p, Move m)
 
void unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player p, Move m)
 
void dropMove (Square to, Ptype ptype, Player p, 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 target
 

Detailed Description

template<class OrigAction>
class osl::move_action::NoAddEffectFilter< OrigAction >

指定したSquareに利きをつける手をフィルタ

Definition at line 117 of file move_action.h.

Constructor & Destructor Documentation

◆ NoAddEffectFilter()

template<class OrigAction >
osl::move_action::NoAddEffectFilter< OrigAction >::NoAddEffectFilter ( const NumEffectState s,
OrigAction &  action,
Square  target 
)
inline

Definition at line 123 of file move_action.h.

Member Function Documentation

◆ dropMove() [1/2]

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

◆ dropMove() [2/2]

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

◆ simpleMove() [1/2]

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

◆ simpleMove() [2/2]

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

◆ unknownMove() [1/2]

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

◆ unknownMove() [2/2]

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

Member Data Documentation

◆ action

template<class OrigAction >
OrigAction& osl::move_action::NoAddEffectFilter< OrigAction >::action
private

◆ state

template<class OrigAction >
const NumEffectState& osl::move_action::NoAddEffectFilter< OrigAction >::state
private

◆ target

template<class OrigAction >
Square osl::move_action::NoAddEffectFilter< OrigAction >::target
private

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