BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
MoveFormats.hpp File Reference
#include <cstdint>
#include <libchess/game/Position.hpp>
#include <libchess/moves/Move.hpp>
#include <libchess/notation/Algebraic.hpp>
#include <libchess/notation/ICCF.hpp>
#include <libchess/notation/UCI.hpp>
#include <string>
Include dependency graph for MoveFormats.hpp:

Go to the source code of this file.

Namespaces

namespace  chess
namespace  chess::notation

Enumerations

enum class  chess::notation::MoveFormat : std::uint_least8_t { chess::notation::MoveFormat::Algebraic , chess::notation::MoveFormat::ICCF , chess::notation::MoveFormat::UCI }

Functions

auto chess::notation::format_move (const MoveFormat format, const Position &position, const Move move) -> std::string

Detailed Description

This file provides an abstraction for formatting moves using any of the available notation types.

Definition in file MoveFormats.hpp.