BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
PGN.hpp File Reference
#include <cstdint>
#include <expected>
#include <libchess/game/Position.hpp>
#include <libchess/game/Result.hpp>
#include <libchess/moves/Move.hpp>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
Include dependency graph for PGN.hpp:

Go to the source code of this file.

Classes

struct  chess::notation::GameRecord
struct  chess::notation::GameRecord::Move

Namespaces

namespace  chess
namespace  chess::notation

Enumerations

enum class  chess::notation::NAG : std::uint_least8_t {
  chess::notation::NAG::Null = 0 , chess::notation::NAG::Good = 1 , chess::notation::NAG::Brilliant = 3 , chess::notation::NAG::Inaccuracy = 2 ,
  chess::notation::NAG::Blunder = 4 , chess::notation::NAG::Interesting = 5 , chess::notation::NAG::Dubious = 6 , chess::notation::NAG::Forced = 7 ,
  chess::notation::NAG::Drawish = 10 , chess::notation::NAG::Unclear = 13 , chess::notation::NAG::WhiteSlightAdvantage = 14 , chess::notation::NAG::WhiteModerateAdvantage = 16 ,
  chess::notation::NAG::WhiteDecisiveAdvantage = 18 , chess::notation::NAG::WhiteCrushingAdvantage = 20 , chess::notation::NAG::BlackSlightAdvantage = 15 , chess::notation::NAG::BlackModerateAdvantage = 17 ,
  chess::notation::NAG::BlackDecisiveAdvantage = 19 , chess::notation::NAG::BlackCrushingAdvantage = 21 , chess::notation::NAG::WhiteZugzwang = 22 , chess::notation::NAG::WhiteInitiative = 36 ,
  chess::notation::NAG::BlackInitiative = 37
}

Detailed Description

This file provides functions for parsing and writing PGN [1] files.

Definition in file PGN.hpp.