28#include "board/genericmove.h"
29#include "board/result.h"
34namespace 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);
An internal chessboard class.
Definition: board.h:58
A chess move independent of chess variant or opening book format.
Definition: genericmove.h:35
The result of a chess game.
Definition: result.h:35
The side or color of a chess player.
Definition: side.h:36
A node in the ECO tree (Encyclopaedia of Chess Openings)
Definition: econode.h:44
A game of chess in PGN format.
Definition: pgngame.h:52
PgnMode
Definition: pgngame.h:56
@ Minimal
Only use data which is required by the PGN standard.
Definition: pgngame.h:58
A class for reading games in PGN format from a text stream.
Definition: pgnstream.h:43
QDebug operator<<(QDebug d, const QCPVector2D &vec)
Definition: qcustomplot.h:449
A struct for storing the game's move history.
Definition: pgngame.h:65
QString moveString
Definition: pgngame.h:71
quint64 key
Definition: pgngame.h:67
QString comment
Definition: pgngame.h:73
Chess::GenericMove move
Definition: pgngame.h:69