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

クラス osl::book::OPiece

#include <compactBoard.h>

すべてのメンバ一覧

Public メソッド

 OPiece (Piece p)
 OPiece (int i)
Square square () const
Ptype ptype () const
Player owner () const
 operator int () const

Static Public メソッド

static int position2Bits (const Square &pos)
 Converts a position to an integer (bits).
static Square bits2Square (const int bit_position)
 Converts an integer (bits) to Square.

Private 変数

int value

説明

compactBoard.h11 行で定義されています。


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

osl::book::OPiece::OPiece ( Piece  p  )  [inline]

compactBoard.h14 行で定義されています。

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

osl::book::OPiece::OPiece ( int  i  )  [inline]

compactBoard.h21 行で定義されています。

参照先 value.


関数

osl::Square osl::book::OPiece::bits2Square ( const int  bit_position  )  [static]

Converts an integer (bits) to Square.

compactBoard.cc13 行で定義されています。

参照先 osl::Square::STAND().

参照元 osl::book::OSquare::getSquare(), osl::book::MiniBoard::getState(), square(), と osl::book::MiniBoardChar50::toSimpleState().

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

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

参照先 value.

Player osl::book::OPiece::owner (  )  const [inline]

compactBoard.h33 行で定義されています。

参照先 value.

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

int osl::book::OPiece::position2Bits ( const Square pos  )  [static]
Ptype osl::book::OPiece::ptype (  )  const [inline]

compactBoard.h29 行で定義されています。

参照先 value.

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

Square osl::book::OPiece::square (  )  const [inline]

compactBoard.h25 行で定義されています。

参照先 bits2Square(), と value.

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


変数

int osl::book::OPiece::value [private]

compactBoard.h44 行で定義されています。

参照元 operator int(), OPiece(), owner(), ptype(), と square().


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