Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
|
#include <move.h>
Public Member Functions | |
bMove () | |
bMove (bMove const &m) | |
bMove (bMove &&m) | |
bMove (case_t cf, case_t ct) | |
bMove (bmove_t const bmt) | |
~bMove () override | |
bMove & | operator= (bMove const &m) |
bMove & | operator= (bMove &&m) |
bool | operator> (bMove const &r) const |
bool | isMateMove () const |
Check if end of game flag is set, and not forced draw. | |
constexpr bScore | getScore () const |
bScore | realScore () const |
void | setScore (bScore const score) |
constexpr bScore | getAbsScore () const |
constexpr bool | isDrawScore () const |
constexpr bool | isUndefinedScore () const |
void | clearScore () |
std::string | getMoveEvalStr () const |
![]() | |
bBasicMove () | |
bBasicMove (bBasicMove const &bm) | |
bBasicMove (bBasicMove &&bm) | |
bBasicMove (bmove_t const bmt) | |
bBasicMove (case_t cf, case_t ct) | |
virtual | ~bBasicMove () |
bBasicMove & | operator= (bBasicMove const &bm) |
bBasicMove & | operator= (bBasicMove &&bm) |
constexpr bool | operator== (bBasicMove const &r) const |
bool | operator== (bmove_t const &r) const |
constexpr case_t | from () const |
constexpr case_t | to () const |
constexpr rank_t | fromrank () const |
constexpr column_t | fromcolumn () const |
constexpr rank_t | torank () const |
constexpr column_t | tocolumn () const |
constexpr fromto_t | getFromTo () const |
constexpr bmove_t | getBMoveT () const |
constexpr ppiece_t | getPromotion () const |
constexpr bool | isValid () const |
constexpr bool | isNullMove () const |
constexpr bool | isPromotion () const |
constexpr bool | isMajorPromotion () const |
void | setPromotion (const ppiece_t p) |
piece_t | getWhitePromotionPiece () const |
piece_t | getBlackPromotionPiece () const |
constexpr bool | isCapture () const |
void | setCapture () |
constexpr bool | isPawnMove () const |
void | setPawnMove () |
constexpr bool | isCastleMove () const |
void | setShortCastleMove () |
void | setLongCastleMove () |
constexpr bool | isLongCastleMove () const |
constexpr bool | isCheck () const |
void | setCheck () |
void | clearIsCheck () |
constexpr bool | getGameEnd () const |
void | setGameEnd () |
constexpr bool | isEPPossible () const |
void | setEPPossible () |
constexpr bool | isEPMove () const |
void | setEPMove () |
constexpr bool | isNonSilent () const |
operator std::string () const | |
|
inlineexplicit |
Definition at line 15 of file move.h.
Referenced by bMove(), bMove(), operator=(), operator=(), and operator>().
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
bool bMove::isMateMove | ( | ) | const |
Check if end of game flag is set, and not forced draw.
Definition at line 41 of file move.cpp.
Referenced by getMoveEvalStr().
|
inline |
Definition at line 53 of file move.h.
Referenced by operator>().
|
inlineconstexpr |
Definition at line 57 of file move.h.
Referenced by isMateMove().
|
inlineconstexpr |
Definition at line 59 of file move.h.
Referenced by getMoveEvalStr(), and isMateMove().
|
inlineconstexpr |
Definition at line 61 of file move.h.
Referenced by getMoveEvalStr(), and isMateMove().
std::string bMove::getMoveEvalStr | ( | ) | const |
Definition at line 17 of file move.cpp.
Referenced by bMoveList::operator<<.