#include <compactBoard.h>
Public メソッド | |
OPiece (Piece p) | |
OPiece (int i) | |
Position | getPosition () const |
Ptype | getPtype () const |
Player | getOwner () const |
operator int () const | |
Static Public メソッド | |
static int | position2Bits (const Position &pos) |
Converts a position to an integer (bits). | |
static Position | bits2Position (const int bit_position) |
Converts an integer (bits) to Position. | |
Private 変数 | |
int | value |
compactBoard.h の 11 行で定義されています。
osl::record::OPiece::OPiece | ( | Piece | p | ) | [inline] |
compactBoard.h の 14 行で定義されています。
参照先 osl::Piece::owner(), osl::Piece::position(), position2Bits(), osl::Piece::ptype(), と value.
osl::record::OPiece::OPiece | ( | int | i | ) | [inline] |
compactBoard.h の 21 行で定義されています。
参照先 value.
osl::Position osl::record::OPiece::bits2Position | ( | const int | bit_position | ) | [static] |
Converts an integer (bits) to Position.
compactBoard.cc の 17 行で定義されています。
参照元 osl::record::OPosition::getPosition(), getPosition(), osl::record::MiniBoard::getState(), と osl::record::MiniBoardChar50::toSimpleState().
Player osl::record::OPiece::getOwner | ( | ) | const [inline] |
compactBoard.h の 33 行で定義されています。
参照先 value.
参照元 osl::record::CompactBoard::getState(), と osl::record::opiece_sort::operator()().
Position osl::record::OPiece::getPosition | ( | ) | const [inline] |
compactBoard.h の 25 行で定義されています。
参照先 bits2Position(), と value.
参照元 osl::record::CompactBoard::getState(), と osl::record::opiece_sort::operator()().
Ptype osl::record::OPiece::getPtype | ( | ) | const [inline] |
compactBoard.h の 29 行で定義されています。
参照先 value.
参照元 osl::record::CompactBoard::getState(), と osl::record::opiece_sort::operator()().
osl::record::OPiece::operator int | ( | ) | const [inline] |
compactBoard.h の 37 行で定義されています。
参照先 value.
int osl::record::OPiece::position2Bits | ( | const Position & | pos | ) | [static] |
Converts a position to an integer (bits).
compactBoard.cc の 11 行で定義されています。
参照先 osl::Position::isPieceStand(), osl::Position::x(), と osl::Position::y().
参照元 osl::record::MiniBoardChar50::MiniBoardChar50(), OPiece(), と osl::record::OPosition::OPosition().
int osl::record::OPiece::value [private] |
compactBoard.h の 44 行で定義されています。
参照元 getOwner(), getPosition(), getPtype(), operator int(), と OPiece().