Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
|
simple coordmove, with 4 characters, or 5 characters in case of promotion mostly used for interface More...
#include <coordmove.h>
Public Member Functions | |
bCoordMove (std::string const &coordmove) | |
bCoordMove (bBasicMove const &m) | |
~bCoordMove () override | |
bool | operator== (bCoordMove const &rhs) |
![]() | |
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 | |
simple coordmove, with 4 characters, or 5 characters in case of promotion mostly used for interface
Definition at line 15 of file coordmove.h.
|
explicit |
Definition at line 10 of file coordmove.cpp.
Referenced by operator==().
|
inlineexplicit |
|
inlineoverride |
Definition at line 21 of file coordmove.h.
|
inline |