My Project
|
#include <sennichite.h>
Classes | |
struct | Result |
Public Member Functions | |
bool | isNormal () const |
bool | isDraw () const |
bool | hasWinner () const |
Player | winner () const |
Static Public Member Functions | |
static Sennichite | NORMAL () |
static Sennichite | DRAW () |
static Sennichite | BLACK_LOSE () |
static Sennichite | WHITE_LOSE () |
Private Member Functions | |
Sennichite (Result::Values v) | |
Private Attributes | |
Result::Values | value |
Friends | |
bool | operator== (const Sennichite &, const Sennichite &) |
Definition at line 11 of file sennichite.h.
|
inlineprivate |
Definition at line 19 of file sennichite.h.
|
inlinestatic |
Definition at line 23 of file sennichite.h.
References osl::Sennichite::Result::BLACK_LOSE.
Referenced by osl::RepetitionCounter::isAlmostSennichiteUnsafe().
|
inlinestatic |
Definition at line 22 of file sennichite.h.
References osl::Sennichite::Result::DRAW.
Referenced by osl::RepetitionCounter::isAlmostSennichiteUnsafe().
|
inline |
Definition at line 28 of file sennichite.h.
References osl::Sennichite::Result::BLACK_LOSE, value, and osl::Sennichite::Result::WHITE_LOSE.
|
inline |
Definition at line 27 of file sennichite.h.
References osl::Sennichite::Result::DRAW, and value.
Referenced by osl::operator<<().
|
inline |
Definition at line 26 of file sennichite.h.
References osl::Sennichite::Result::NORMAL, and value.
Referenced by osl::operator<<().
|
inlinestatic |
Definition at line 21 of file sennichite.h.
References osl::Sennichite::Result::NORMAL.
Referenced by osl::RepetitionCounter::distanceToSennichite(), osl::RepetitionCounter::isAlmostSennichite(), and osl::RepetitionCounter::isSennichite().
|
inlinestatic |
Definition at line 24 of file sennichite.h.
References osl::Sennichite::Result::WHITE_LOSE.
Referenced by osl::RepetitionCounter::isAlmostSennichiteUnsafe().
osl::Player osl::Sennichite::winner | ( | ) | const |
Definition at line 7 of file sennichite.cc.
References osl::BLACK, osl::Sennichite::Result::BLACK_LOSE, value, osl::WHITE, and osl::Sennichite::Result::WHITE_LOSE.
Referenced by osl::operator<<().
|
friend |
Definition at line 35 of file sennichite.h.
|
private |
Definition at line 18 of file sennichite.h.
Referenced by hasWinner(), isDraw(), isNormal(), and winner().