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

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

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

List of all members.

Public Member Functions

 LongPieceAction (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::LongPieceAction< P, T, Action >

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

Definition at line 399 of file addEffect8.tcc.


Constructor & Destructor Documentation

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

Definition at line 405 of file addEffect8.tcc.


Member Function Documentation

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

forEachOnBoardから呼ばれる

Definition at line 411 of file addEffect8.tcc.

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


Member Data Documentation

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

Definition at line 403 of file addEffect8.tcc.

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

Definition at line 401 of file addEffect8.tcc.

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

Definition at line 402 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