All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
osl::move_action::CaptureFrom< P, OrigAction > Struct Template Reference

from に利きのある手を取る More...

#include <captureFrom.h>

Collaboration diagram for osl::move_action::CaptureFrom< P, OrigAction >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept)
 CaptureFrom (const NumEffectState &s, OrigAction &action)
template<Player PP>
void doAction (Piece const &p, Square const &)
void simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p, Move move)
void unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player p, Move move)
void dropMove (Square to, Ptype ptype, Player p, Move move)
 dropMove では取れない
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)

Public Attributes

const NumEffectState & state
OrigAction & action

Detailed Description

template<Player P, class OrigAction>
struct osl::move_action::CaptureFrom< P, OrigAction >

from に利きのある手を取る

Definition at line 20 of file captureFrom.h.


Constructor & Destructor Documentation

template<Player P, class OrigAction >
osl::move_action::CaptureFrom< P, OrigAction >::CaptureFrom ( const NumEffectState &  s,
OrigAction &  action 
) [inline]

Definition at line 27 of file captureFrom.h.


Member Function Documentation

template<Player P, class OrigAction >
osl::move_action::CaptureFrom< P, OrigAction >::BOOST_CLASS_REQUIRE ( OrigAction  ,
osl::move_action  ,
Concept   
)
template<Player P, class OrigAction >
template<Player PP>
void osl::move_action::CaptureFrom< P, OrigAction >::doAction ( Piece const &  p,
Square const &   
) [inline]
template<Player P, class OrigAction >
void osl::move_action::CaptureFrom< P, OrigAction >::dropMove ( Square  to,
Ptype  ptype,
Player  p,
Move  move 
) [inline]

dropMove では取れない

Definition at line 59 of file captureFrom.h.

Referenced by osl::move_action::CaptureFrom< P, OrigAction >::dropMove().

template<Player P, class OrigAction >
void osl::move_action::CaptureFrom< P, OrigAction >::dropMove ( Square  to,
Ptype  ptype,
Player  p 
) [inline]
template<Player P, class OrigAction >
void osl::move_action::CaptureFrom< P, OrigAction >::simpleMove ( Square  from,
Square  to,
Ptype  ptype,
bool  isPromote,
Player  p,
Move  move 
) [inline]
template<Player P, class OrigAction >
void osl::move_action::CaptureFrom< P, OrigAction >::simpleMove ( Square  from,
Square  to,
Ptype  ptype,
bool  isPromote,
Player  p 
) [inline]
template<Player P, class OrigAction >
void osl::move_action::CaptureFrom< P, OrigAction >::unknownMove ( Square  from,
Square  to,
Piece  p1,
Ptype  ptype,
bool  isPromote,
Player  p,
Move  move 
) [inline]
template<Player P, class OrigAction >
void osl::move_action::CaptureFrom< P, OrigAction >::unknownMove ( Square  from,
Square  to,
Piece  captured,
Ptype  ptype,
bool  isPromote,
Player  p 
) [inline]

Member Data Documentation

template<Player P, class OrigAction >
OrigAction& osl::move_action::CaptureFrom< P, OrigAction >::action
template<Player P, class OrigAction >
const NumEffectState& osl::move_action::CaptureFrom< P, OrigAction >::state

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