All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
osl::effect_action::BetterToPromote< Action > Class Template Reference

成った方が良い駒は成る手のみ生成 More...

#include <betterToPromote.h>

Collaboration diagram for osl::effect_action::BetterToPromote< Action >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BetterToPromote (const NumEffectState &s, Action &a)
template<Player P, Ptype Type>
void doActionPtype (Piece p1, Square to)
template<Player P>
void doAction (Piece p1, Square to)
 Ptypeをtemplate引数にできない場合

Private Member Functions

 BOOST_CLASS_REQUIRE (Action, osl::move_action, Concept)

Private Attributes

const NumEffectState & state
Action & ac

Detailed Description

template<class Action>
class osl::effect_action::BetterToPromote< Action >

成った方が良い駒は成る手のみ生成

Definition at line 12 of file betterToPromote.h.


Constructor & Destructor Documentation

template<class Action >
osl::effect_action::BetterToPromote< Action >::BetterToPromote ( const NumEffectState &  s,
Action &  a 
) [inline]

Definition at line 19 of file betterToPromote.h.


Member Function Documentation

template<class Action >
osl::effect_action::BetterToPromote< Action >::BOOST_CLASS_REQUIRE ( Action  ,
osl::move_action  ,
Concept   
) [private]
template<class Action >
template<Player P>
void osl::effect_action::BetterToPromote< Action >::doAction ( Piece  p1,
Square  to 
) [inline]
template<class Action >
template<Player P, Ptype Type>
void osl::effect_action::BetterToPromote< Action >::doActionPtype ( Piece  p1,
Square  to 
) [inline]

Member Data Documentation

template<class Action >
Action& osl::effect_action::BetterToPromote< Action >::ac [private]
template<class Action >
const NumEffectState& osl::effect_action::BetterToPromote< Action >::state [private]

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