11 x 12 [詳細]
#include <boardMask.h>
Public メソッド | |
BoardMask () | |
BoardMask (const BoardMask &src) | |
BoardMask & | operator= (const BoardMask &src) |
void | clear () |
void | invalidate () |
bool | isInvalid () const |
void | set (unsigned int i) |
void | set (Position pos) |
bool | test (unsigned int i) const |
bool | test (Position pos) const |
bool | anyInRange (const BoardMask &mask) const |
BoardMask & | operator|= (const BoardMask &mask) |
Static Public メソッド | |
static int | index (int x, int y) |
static int | index (Position pos) |
template<Direction Dir, Player P> | |
static int | getIndexOffset () |
Private 変数 | |
CArray< uint64_t, 3 > | contents |
the third one is only for edge | |
フレンド | |
bool | operator== (const BoardMask &, const BoardMask &) |
11 x 12
boardMask.h の 20 行で定義されています。
osl::container::BoardMask::BoardMask | ( | ) | [inline] |
boardMask.h の 25 行で定義されています。
参照先 invalidate().
osl::container::BoardMask::BoardMask | ( | const BoardMask & | src | ) | [inline] |
boardMask.h の 26 行で定義されています。
参照先 contents.
bool osl::container::BoardMask::anyInRange | ( | const BoardMask & | mask | ) | const [inline] |
boardMask.h の 52 行で定義されています。
参照先 contents.
void osl::container::BoardMask::clear | ( | ) | [inline] |
static int osl::container::BoardMask::getIndexOffset | ( | ) | [inline, static] |
boardMask.h の 69 行で定義されています。
参照先 osl::BLACK.
static int osl::container::BoardMask::index | ( | Position | pos | ) | [inline, static] |
boardMask.h の 64 行で定義されています。
static int osl::container::BoardMask::index | ( | int | x, | |
int | y | |||
) | [inline, static] |
boardMask.h の 63 行で定義されています。
void osl::container::BoardMask::invalidate | ( | ) | [inline] |
bool osl::container::BoardMask::isInvalid | ( | ) | const [inline] |
boardMask.h の 39 行で定義されています。
参照先 contents.
boardMask.h の 30 行で定義されています。
参照先 contents.
boardMask.h の 57 行で定義されています。
参照先 contents.
void osl::container::BoardMask::set | ( | Position | pos | ) | [inline] |
boardMask.h の 44 行で定義されています。
参照先 index().
void osl::container::BoardMask::set | ( | unsigned int | i | ) | [inline] |
bool osl::container::BoardMask::test | ( | Position | pos | ) | const [inline] |
bool osl::container::BoardMask::test | ( | unsigned int | i | ) | const [inline] |
boardMask.h の 84 行で定義されています。
CArray<uint64_t,3> osl::container::BoardMask::contents [private] |
the third one is only for edge
boardMask.h の 23 行で定義されています。
参照元 anyInRange(), BoardMask(), clear(), invalidate(), isInvalid(), operator=(), osl::container::operator==(), operator|=(), set(), と test().