28 #include "board/genericmove.h" 29 #include "board/result.h" 34 namespace Chess {
class Board; }
91 void addMove(
const MoveData& data,
bool addEco =
true);
92 void setMove(
int ply,
const MoveData& data);
114 bool read(
PgnStream& in,
int maxMoves = INT_MAX - 1,
129 bool write(
const QString& filename,
PgnMode mode = Verbose)
const;
136 bool isStandard()
const;
159 QString startingFenString()
const;
167 void setEvent(
const QString& event);
169 void setSite(
const QString& site);
171 void setDate(
const QDate& date);
173 void setRound(
int round);
179 void setVariant(
const QString& variant);
191 void setResultDescription(
const QString& description);
199 void setTagReceiver(
QObject* receiver);
201 void setGameStartTime(
const QDateTime& dateTime);
203 void setGameEndTime(
const QDateTime& dateTime);
209 bool parseMove(
PgnStream& in,
bool addEco);
A struct for storing the game's move history.
Definition: pgngame.h:64
A class for reading games in PGN format from a text stream.
Definition: pgnstream.h:42
Chess::GenericMove move
Definition: pgngame.h:69
QString comment
Definition: pgngame.h:73
An internal chessboard class.
Definition: board.h:57
A game of chess in PGN format.
Definition: pgngame.h:51
A chess move independent of chess variant or opening book format.
Definition: genericmove.h:34
A node in the ECO tree (Encyclopaedia of Chess Openings)
Definition: econode.h:43
Definition: boardscene.h:29
The side or color of a chess player.
Definition: side.h:35
Only use data which is required by the PGN standard.
Definition: pgngame.h:58
quint64 key
Definition: pgngame.h:67
PgnMode
Definition: pgngame.h:55
The result of a chess game.
Definition: result.h:34
QString moveString
Definition: pgngame.h:71