Chess Engine
A Chess Engine project written in C++.
|
Public Member Functions | |
constexpr | Square (uint8_t value=none()) |
constexpr | Square (int value=none()) |
constexpr | Square (File file, Rank rank) |
constexpr | Square (std::string_view str) |
constexpr File | file () const |
constexpr Rank | rank () const |
void | print (std::ostream &os) const |
Public Member Functions inherited from Coordinate< Square > | |
constexpr void | set (uint8_t value) |
constexpr uint8_t | value () const |
constexpr bool | ok () const |
constexpr | operator uint8_t () |
Static Public Member Functions | |
static constexpr uint8_t | distance (Square from, Square to) |
Static Public Member Functions inherited from Coordinate< Square > | |
static constexpr Square | none () |
static constexpr uint8_t | number () |
static constexpr uint8_t | mask () |
static constexpr uint8_t | size () |
Static Public Member Functions inherited from Iterable< Square > | |
static constexpr Square | first () |
static constexpr Square | last () |
static constexpr Range | all () |
Additional Inherited Members | |
Public Attributes inherited from Coordinate< Square > | |
friend | Derived |