Public Member Functions | Private Attributes
osl::move_generator::addeffect8::ShortPieceAction< P, T, Action > Class Template Reference

promote可能な足の短い駒による利きの生成用 Functor More...

Collaboration diagram for osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ShortPieceAction (NumEffectState const &s, Square p, Action &a)
void operator() (Piece p)
 forEachOnBoardから呼ばれる

Private Attributes

NumEffectState const & state
Square target
Action & action

Detailed Description

template<Player P, Ptype T, class Action>
class osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >

promote可能な足の短い駒による利きの生成用 Functor

Definition at line 348 of file addEffect8.tcc.


Constructor & Destructor Documentation

template<Player P, Ptype T, class Action >
osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::ShortPieceAction ( NumEffectState const &  s,
Square  p,
Action &  a 
) [inline]

Definition at line 354 of file addEffect8.tcc.


Member Function Documentation

template<Player P, Ptype T, class Action >
void osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::operator() ( Piece  p) [inline]

forEachOnBoardから呼ばれる

Definition at line 360 of file addEffect8.tcc.

References osl::Piece::isPromotedNotKingGold(), and target.


Member Data Documentation

template<Player P, Ptype T, class Action >
Action& osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::action [private]

Definition at line 352 of file addEffect8.tcc.

template<Player P, Ptype T, class Action >
NumEffectState const& osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::state [private]

Definition at line 350 of file addEffect8.tcc.

template<Player P, Ptype T, class Action >
Square osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::target [private]

Definition at line 351 of file addEffect8.tcc.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines