構造体 osl::move_action::Store

指手を MoveVector に保管 [詳細]

#include <store.h>

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

すべてのメンバ一覧

Public メソッド

template<size_t Capacity>
 Store (FixedCapacityVector< Move, Capacity > &v)
void simpleMove (Position, Position, Ptype, bool, Player, Move move)
 コマをとらないMove
void unknownMove (Position, Position, Piece, Ptype, bool, Player, Move move)
 コマを取るかもしれないMove
void dropMove (Position, Ptype, Player, Move move)
 コマを打つMove
void simpleMove (Position from, Position to, Ptype ptype, bool isPromote, Player p)
void unknownMove (Position from, Position to, Piece captured, Ptype ptype, bool isPromote, Player p)
void dropMove (Position to, Ptype ptype, Player p)

Public 変数

FixedCapacityVectorPushBack< Move > moves

説明

指手を MoveVector に保管

store.h の 15 行で定義されています。


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

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

store.h の 19 行で定義されています。


関数

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

store.h の 61 行で定義されています。

参照先 dropMove().

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

コマを打つMove

store.h の 43 行で定義されています。

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

参照元 dropMove().

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

store.h の 49 行で定義されています。

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

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

コマをとらないMove

store.h の 24 行で定義されています。

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

参照元 simpleMove().

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

store.h の 55 行で定義されています。

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

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

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

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

store.h の 37 行で定義されています。

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

参照元 unknownMove().


変数

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

store.h の 17 行で定義されています。

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


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