BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
UTF8 encoded piece symbols
Collaboration diagram for UTF8 encoded piece symbols:

Files

file  UTF8.hpp

Namespaces

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

Detailed Description

This group provides UTF8 encoded piece symbols.

Function Documentation

◆ bishop()

auto chess::pieces::utf8::bishop ( const Color color) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a bishop of the desired color.

Definition at line 156 of file UTF8.hpp.

◆ get() [1/2]

auto chess::pieces::utf8::black::get ( const Type type) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a Black piece of the given type.

Definition at line 115 of file UTF8.hpp.

◆ get() [2/2]

auto chess::pieces::utf8::white::get ( const Type type) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a White piece of the given type.

Definition at line 67 of file UTF8.hpp.

◆ king()

auto chess::pieces::utf8::king ( const Color color) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a king of the desired color.

Definition at line 183 of file UTF8.hpp.

◆ knight()

auto chess::pieces::utf8::knight ( const Color color) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a knight of the desired color.

Definition at line 147 of file UTF8.hpp.

◆ pawn()

auto chess::pieces::utf8::pawn ( const Color color) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a pawn of the desired color.

Definition at line 138 of file UTF8.hpp.

◆ queen()

auto chess::pieces::utf8::queen ( const Color color) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a queen of the desired color.

Definition at line 174 of file UTF8.hpp.

◆ rook()

auto chess::pieces::utf8::rook ( const Color color) -> string_view
nodiscardconstexprnoexcept

Returns a UTF8-encoded symbol for a rook of the desired color.

Definition at line 165 of file UTF8.hpp.

Variable Documentation

◆ BISHOP [1/2]

string_view chess::pieces::utf8::black::BISHOP { "\xE2\x99\x9D" }
inlineconstexpr

A UTF8-encoded symbol for a Black bishop.

Definition at line 103 of file UTF8.hpp.

◆ BISHOP [2/2]

string_view chess::pieces::utf8::white::BISHOP { "\xE2\x99\x97" }
inlineconstexpr

A UTF8-encoded symbol for a White bishop.

Definition at line 55 of file UTF8.hpp.

◆ KING [1/2]

string_view chess::pieces::utf8::black::KING { "\xE2\x99\x9A" }
inlineconstexpr

A UTF8-encoded symbol for a Black king.

Definition at line 112 of file UTF8.hpp.

◆ KING [2/2]

string_view chess::pieces::utf8::white::KING { "\xE2\x99\x94" }
inlineconstexpr

A UTF8-encoded symbol for a White king.

Definition at line 64 of file UTF8.hpp.

◆ KNIGHT [1/2]

string_view chess::pieces::utf8::black::KNIGHT { "\xE2\x99\x9E" }
inlineconstexpr

A UTF8-encoded symbol for a Black knight.

Definition at line 100 of file UTF8.hpp.

◆ KNIGHT [2/2]

string_view chess::pieces::utf8::white::KNIGHT { "\xE2\x99\x98" }
inlineconstexpr

A UTF8-encoded symbol for a White knight.

Definition at line 52 of file UTF8.hpp.

◆ PAWN [1/2]

string_view chess::pieces::utf8::black::PAWN { "\xE2\x99\x9F" }
inlineconstexpr

A UTF8-encoded symbol for a Black pawn.

Definition at line 97 of file UTF8.hpp.

◆ PAWN [2/2]

string_view chess::pieces::utf8::white::PAWN { "\xE2\x99\x99" }
inlineconstexpr

A UTF8-encoded symbol for a White pawn.

Definition at line 49 of file UTF8.hpp.

◆ QUEEN [1/2]

string_view chess::pieces::utf8::black::QUEEN { "\xE2\x99\x9B" }
inlineconstexpr

A UTF8-encoded symbol for a Black queen.

Definition at line 109 of file UTF8.hpp.

◆ QUEEN [2/2]

string_view chess::pieces::utf8::white::QUEEN { "\xE2\x99\x95" }
inlineconstexpr

A UTF8-encoded symbol for a White queen.

Definition at line 61 of file UTF8.hpp.

◆ ROOK [1/2]

string_view chess::pieces::utf8::black::ROOK { "\xE2\x99\x9C" }
inlineconstexpr

A UTF8-encoded symbol for a Black rook.

Definition at line 106 of file UTF8.hpp.

◆ ROOK [2/2]

string_view chess::pieces::utf8::white::ROOK { "\xE2\x99\x96" }
inlineconstexpr

A UTF8-encoded symbol for a White rook.

Definition at line 58 of file UTF8.hpp.