構造体 テンプレート osl::PtypePlayerTraits< T, P >

#include <ptypeTraits.h>

すべてのメンバ一覧

Static Public メソッド

static bool canDropTo (Position, Int2Type< false >)
static bool canDropTo (Position pos, Int2Type< true >)
static bool canDropTo (Position pos)
static bool mayPromote (Position pos, Int2Type< true >)
 posにある駒がpromoteする可能性があるか? 先手BISHOPが49,58,59,69などにいる場合は可能性がないが,この時点では排除しない
static bool mayPromote (Position pos)
static bool mustPromote (Position pos)
 posにあるTの駒がpromoteする手しかない
static bool canPromote (Position pos)
 posにあるTの駒がどの方向に動いてもpromote可能
static bool checkPromote (Position pos)
 posにあるTの駒がpromote可能なdirectionに動く時だけpromote可能 shortの時はその時のみYES
static bool noPromote (Position pos)
 posにあるTの駒は次に絶対にpromoteできない

説明

template<Ptype T, Player P>
struct osl::PtypePlayerTraits< T, P >

ptypeTraits.h369 行で定義されています。


関数

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::canDropTo ( Position  pos  )  [inline, static]

ptypeTraits.h386 行で定義されています。

参照先 osl::PtypePlayerTraits< T, P >::canDropTo(), と osl::isBasic().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::canDropTo ( Position  pos,
Int2Type< true >   
) [inline, static]

ptypeTraits.h376 行で定義されています。

参照先 osl::BLACK, osl::Position::reverseY(), と osl::Position::y().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::canDropTo ( Position  ,
Int2Type< false >   
) [inline, static]

ptypeTraits.h371 行で定義されています。

参照元 osl::PtypePlayerTraits< T, P >::canDropTo().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::canPromote ( Position  pos  )  [inline, static]

posにあるTの駒がどの方向に動いてもpromote可能

ptypeTraits.h428 行で定義されています。

参照先 osl::BLACK, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::Position::yGe(), と osl::Position::yLe().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::checkPromote ( Position  pos  )  [inline, static]

posにあるTの駒がpromote可能なdirectionに動く時だけpromote可能 shortの時はその時のみYES

ptypeTraits.h445 行で定義されています。

参照先 osl::BISHOP, osl::BLACK, osl::LANCE, osl::ROOK, osl::SILVER, と osl::Position::yEq().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::mayPromote ( Position  pos  )  [inline, static]

ptypeTraits.h404 行で定義されています。

参照先 osl::canPromote(), osl::isBasic(), と osl::PtypePlayerTraits< T, P >::mayPromote().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::mayPromote ( Position  pos,
Int2Type< true >   
) [inline, static]

posにある駒がpromoteする可能性があるか? 先手BISHOPが49,58,59,69などにいる場合は可能性がないが,この時点では排除しない

ptypeTraits.h394 行で定義されています。

参照先 osl::BLACK, osl::Position::reverseY(), と osl::Position::y().

参照元 osl::PtypePlayerTraits< T, P >::mayPromote().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::mustPromote ( Position  pos  )  [inline, static]

posにあるTの駒がpromoteする手しかない

ptypeTraits.h412 行で定義されています。

参照先 osl::BLACK, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::Position::yEq(), osl::Position::yGe(), と osl::Position::yLe().

template<Ptype T, Player P>
static bool osl::PtypePlayerTraits< T, P >::noPromote ( Position  pos  )  [inline, static]

posにあるTの駒は次に絶対にpromoteできない

ptypeTraits.h463 行で定義されています。

参照先 osl::BISHOP, osl::BLACK, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::ROOK, osl::SILVER, osl::Position::yGe(), と osl::Position::yLe().


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