Public メソッド | Public 変数

構造体 osl::move_action::Store

指手を MoveVector に保管 [詳細]

#include <move_action.h>

osl::move_action::Storeのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

template<size_t Capacity>
 Store (FixedCapacityVector< Move, Capacity > &v)
void simpleMove (Square, Square, Ptype, bool, Player, Move move)
 コマをとらないMove
void unknownMove (Square, Square, Piece, Ptype, bool, Player, Move move)
 コマを取るかもしれないMove
void dropMove (Square, Ptype, Player, Move move)
 コマを打つMove
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 変数

FixedCapacityVectorPushBack< Movemoves

説明

指手を MoveVector に保管

move_action.h15 行で定義されています。


コンストラクタとデストラクタ

template<size_t Capacity>
osl::move_action::Store::Store ( FixedCapacityVector< Move, Capacity > &  v  )  [inline, explicit]

move_action.h19 行で定義されています。


関数

void osl::move_action::Store::dropMove ( Square  ,
Ptype  ,
Player  ,
Move  move 
) [inline]

コマを打つMove

move_action.h43 行で定義されています。

参照先 osl::Move::isValid(), と moves.

参照元 dropMove().

void osl::move_action::Store::dropMove ( Square  to,
Ptype  ptype,
Player  p 
) [inline]

move_action.h61 行で定義されています。

参照先 dropMove().

void osl::move_action::Store::simpleMove ( Square  from,
Square  to,
Ptype  ptype,
bool  isPromote,
Player  p 
) [inline]

move_action.h49 行で定義されています。

参照先 osl::PTYPE_EMPTY, と simpleMove().

void osl::move_action::Store::simpleMove ( Square  ,
Square  ,
Ptype  ,
bool  ,
Player  ,
Move  move 
) [inline]

コマをとらないMove

move_action.h24 行で定義されています。

参照先 osl::Move::isValid(), と moves.

参照元 simpleMove().

void osl::move_action::Store::unknownMove ( Square  ,
Square  ,
Piece  ,
Ptype  ,
bool  ,
Player  ,
Move  move 
) [inline]

コマを取るかもしれないMove

引数:
from - 駒の移動元
to - 駒の移動先
p1 - 移動先のマスの駒
ptype - 移動後の駒のptype
isPromote - 成りか?
p - プレイヤー

move_action.h37 行で定義されています。

参照先 osl::Move::isValid(), と moves.

参照元 unknownMove().

void osl::move_action::Store::unknownMove ( Square  from,
Square  to,
Piece  captured,
Ptype  ptype,
bool  isPromote,
Player  p 
) [inline]

move_action.h55 行で定義されています。

参照先 osl::Piece::ptype(), と unknownMove().


変数

FixedCapacityVectorPushBack<Move> osl::move_action::Store::moves

move_action.h17 行で定義されています。

参照元 dropMove(), simpleMove(), と unknownMove().


この構造体の説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義