#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.h の 11 行で定義されています。
osl::book::OPiece::OPiece | ( | Piece | p | ) | [inline] |
compactBoard.h の 14 行で定義されています。
参照先 osl::Piece::owner(), position2Bits(), osl::Piece::ptype(), osl::Piece::square(), と value.
osl::book::OPiece::OPiece | ( | int | i | ) | [inline] |
compactBoard.h の 21 行で定義されています。
参照先 value.
osl::Square osl::book::OPiece::bits2Square | ( | const int | bit_position | ) | [static] |
Converts an integer (bits) to Square.
compactBoard.cc の 13 行で定義されています。
参照先 osl::Square::STAND().
参照元 osl::book::OSquare::getSquare(), osl::book::MiniBoard::getState(), square(), と osl::book::MiniBoardChar50::toSimpleState().
osl::book::OPiece::operator int | ( | ) | const [inline] |
compactBoard.h の 37 行で定義されています。
参照先 value.
Player osl::book::OPiece::owner | ( | ) | const [inline] |
int osl::book::OPiece::position2Bits | ( | const Square & | pos | ) | [static] |
Converts a position to an integer (bits).
compactBoard.cc の 7 行で定義されています。
参照先 osl::Square::isPieceStand(), osl::Square::x(), と osl::Square::y().
参照元 osl::book::MiniBoard::MiniBoard(), osl::book::MiniBoardChar50::MiniBoardChar50(), OPiece(), と osl::book::OSquare::OSquare().
Ptype osl::book::OPiece::ptype | ( | ) | const [inline] |
Square osl::book::OPiece::square | ( | ) | const [inline] |
compactBoard.h の 25 行で定義されています。
参照先 bits2Square(), と value.
int osl::book::OPiece::value [private] |
compactBoard.h の 44 行で定義されています。
参照元 operator int(), OPiece(), owner(), ptype(), と square().