Belofte version 2.1.8
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 | |
![]() | |
bBasicMove (bBasicMove const &bm) | |
bBasicMove (bBasicMove &&bm) | |
bBasicMove (basicmove_t const bmt) | |
bBasicMove (case_t cf, case_t ct) | |
virtual | ~bBasicMove () |
bBasicMove & | operator= (bBasicMove &&bm) |
bBasicMove & | operator= (bBasicMove const &bm) |
operator std::string () const | |
MEMBER_CONSTEXPR case_t | from () const |
MEMBER_CONSTEXPR case_t | to () const |
rank_t | fromrank () const |
column_t | fromcolumn () const |
rank_t | torank () const |
column_t | tocolumn () const |
basicmove_t | getBasicMoveT () const |
ppiece_t | getPromotion () const |
Friends | |
bool | operator== (bCoordMove const &lhs, bCoordMove const &rhs) |
Additional Inherited Members | ||
![]() | ||
union { | ||
uint32_t u_bmove = 0UL | ||
struct { | ||
basicmove_t m_bmove | ||
uint8_t m_flag | ||
ppiece_t m_promotion | ||
} | ||
}; | ||
simple coordmove, with 4 characters, or 5 characters in case of promotion mostly used for interface
Definition at line 14 of file coordmove.h.
|
explicit |
Definition at line 10 of file coordmove.cpp.
|
explicit |
Definition at line 18 of file coordmove.cpp.
|
inlineoverride |
Definition at line 18 of file coordmove.h.
|
friend |
Definition at line 20 of file coordmove.h.