libscid 0.1.0
Chess applications made easy.
Loading...
Searching...
No Matches
scid::core::MoveAction Struct Reference
+ Inheritance diagram for scid::core::MoveAction:

Public Member Functions

bool isNullMove () const
 
int isCastle () const
 Returns: +2 for king side castle -2 for queen side castle 0 (false) if it is not a castle moves.
 
template<typename OutputIt >
OutputIt toLongNotation (OutputIt dest) const
 Converts the move to UCI coordinate notation.
 

Public Attributes

squareT from
 
squareT to
 
pieceT promote
 
pieceT movingPiece: 7
 
pieceT castling: 1
 
byte pieceNum
 
byte capturedNum
 
pieceT capturedPiece
 
squareT capturedSquare
 
byte castleFlags
 
squareT epSquare
 
ushort oldHalfMoveClock
 

Member Function Documentation

◆ toLongNotation()

template<typename OutputIt >
OutputIt scid::core::MoveAction::toLongNotation ( OutputIt  dest) const
inline

Converts the move to UCI coordinate notation.

Returns
a pointer one past the last char written.

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