BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
UTF8.hpp File Reference
#include <libchess/pieces/Colors.hpp>
#include <libchess/pieces/PieceTypes.hpp>
#include <string_view>
Include dependency graph for UTF8.hpp:

Go to the source code of this file.

Classes

class  chess::pieces::utf8::string_view
 STL class. More...

Namespaces

namespace  chess
namespace  chess::pieces
namespace  chess::pieces::utf8
namespace  chess::pieces::utf8::black
namespace  chess::pieces::utf8::white

Functions

constexpr auto chess::pieces::utf8::bishop (const Color color) noexcept -> string_view
constexpr auto chess::pieces::utf8::king (const Color color) noexcept -> string_view
constexpr auto chess::pieces::utf8::knight (const Color color) noexcept -> string_view
constexpr auto chess::pieces::utf8::pawn (const Color color) noexcept -> string_view
constexpr auto chess::pieces::utf8::queen (const Color color) noexcept -> string_view
constexpr auto chess::pieces::utf8::rook (const Color color) noexcept -> string_view
constexpr string_view chess::pieces::utf8::white::BISHOP { "\xE2\x99\x97" }
constexpr auto chess::pieces::utf8::white::get (const Type type) noexcept -> string_view
constexpr string_view chess::pieces::utf8::white::KING { "\xE2\x99\x94" }
constexpr string_view chess::pieces::utf8::white::KNIGHT { "\xE2\x99\x98" }
constexpr string_view chess::pieces::utf8::white::PAWN { "\xE2\x99\x99" }
constexpr string_view chess::pieces::utf8::white::QUEEN { "\xE2\x99\x95" }
constexpr string_view chess::pieces::utf8::white::ROOK { "\xE2\x99\x96" }
constexpr string_view chess::pieces::utf8::black::BISHOP { "\xE2\x99\x9D" }
constexpr auto chess::pieces::utf8::black::get (const Type type) noexcept -> string_view
constexpr string_view chess::pieces::utf8::black::KING { "\xE2\x99\x9A" }
constexpr string_view chess::pieces::utf8::black::KNIGHT { "\xE2\x99\x9E" }
constexpr string_view chess::pieces::utf8::black::PAWN { "\xE2\x99\x9F" }
constexpr string_view chess::pieces::utf8::black::QUEEN { "\xE2\x99\x9B" }
constexpr string_view chess::pieces::utf8::black::ROOK { "\xE2\x99\x9C" }

Detailed Description

This file provides UTF8 encoded piece symbols.

Definition in file UTF8.hpp.