Public メソッド | Static Public 変数

クラス osl::book::OPSquare

Square, Owner, Promoted : 10 bits. [詳細]

#include <miniBoard.h>

osl::book::OPSquareに対する継承グラフ
Inheritance graph
[凡例]
osl::book::OPSquareのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

 OPSquare ()
 OPSquare (const Piece &p)
 OPSquare (const int i)
bool isPromoted () const

Static Public 変数

static const size_t total_bits = 10

説明

Square, Owner, Promoted : 10 bits.

For PAWN, LANCE, KNIGHT, SILVER, BISHOP and ROOK. 1: Promote 0:unpromoted; 1:promoted 2: Owner 0:Black; 1:WHITE 3456: Square x 789A: Square y

miniBoard.h64 行で定義されています。


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

osl::book::OPSquare::OPSquare (  )  [inline]

miniBoard.h68 行で定義されています。

osl::book::OPSquare::OPSquare ( const Piece p  )  [inline]

miniBoard.h69 行で定義されています。

参照先 osl::Piece::isPromoted(), と osl::book::OSquare::value.

osl::book::OPSquare::OPSquare ( const int  i  )  [inline]

miniBoard.h77 行で定義されています。


関数

bool osl::book::OPSquare::isPromoted (  )  const [inline]

miniBoard.h79 行で定義されています。

参照先 osl::book::OSquare::value.


変数

const size_t osl::book::OPSquare::total_bits = 10 [static]

osl::book::OSquareを再定義しています。

miniBoard.h67 行で定義されています。

参照元 osl::book::fromBase64(), と osl::book::MiniBoard::toBits().


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