Public メソッド | Static Public 変数 | Protected 変数

クラス osl::book::OSquare

Square, Owner: 9 bits. [詳細]

#include <miniBoard.h>

osl::book::OSquareに対する継承グラフ
Inheritance graph
[凡例]

すべてのメンバ一覧

Public メソッド

 OSquare ()
 OSquare (const Piece &p)
 OSquare (const int i)
Square getSquare () const
Player getOwner () const
 operator int () const

Static Public 変数

static const size_t total_bits = 9

Protected 変数

int value

説明

Square, Owner: 9 bits.

For GOLD. 1: Owner 0:Black; 1:WHITE 2345: Square x 6789: Square y

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


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

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

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

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

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

参照先 osl::Piece::owner(), osl::book::OPiece::position2Bits(), osl::Piece::square(), と value.

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

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

参照先 value.


関数

Player osl::book::OSquare::getOwner (  )  const [inline]

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

参照先 value.

参照元 osl::book::oposition_sort::operator()().

Square osl::book::OSquare::getSquare (  )  const [inline]

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

参照先 osl::book::OPiece::bits2Square(), と value.

参照元 osl::book::oposition_sort::operator()().

osl::book::OSquare::operator int (  )  const [inline]

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

参照先 value.


変数

const size_t osl::book::OSquare::total_bits = 9 [static]

osl::book::OPSquareで再定義されています。

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

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

int osl::book::OSquare::value [protected]

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