libscid 0.1.0
Chess applications made easy.
Loading...
Searching...
No Matches
scid::core::FullMove Class Reference

Public Member Functions

constexpr FullMove (std::uint32_t m=0)
 
 FullMove (colorT c, squareT kingSq, squareT rookSq)
 
 FullMove (colorT c, squareT from, squareT to, pieceT pt)
 
bool operator== (FullMove const &f) const
 
 operator bool () const
 
bool isNull () const
 
bool isPromo () const
 
bool isEnpassant () const
 
bool isCastle () const
 
squareT getTo () const
 
squareT getFrom () const
 
pieceT getPiece () const
 
colorT getColor () const
 
pieceT getPromo () const
 
pieceT getCaptured () const
 
std::string getSAN () const
 
void setPromo (pieceT promo)
 
void setCapture (pieceT piece, bool enPassant)
 
void setAmbiguity (bool fyle, bool rank)
 
void setCheck ()
 

The documentation for this class was generated from the following file: