|
HooverChessUtils_PgnReader 0.9.0
|


Go to the source code of this file.
Namespaces | |
| namespace | hoover_chess_utils |
| namespace | hoover_chess_utils::pgn_reader |
Enumerations | |
| enum class | hoover_chess_utils::pgn_reader::PgnResult : std::uint_fast8_t { hoover_chess_utils::pgn_reader::PgnResult::WHITE_WIN , hoover_chess_utils::pgn_reader::PgnResult::BLACK_WIN , hoover_chess_utils::pgn_reader::PgnResult::DRAW , hoover_chess_utils::pgn_reader::PgnResult::UNKNOWN } |
| Game result. More... | |
Functions | |
| constexpr std::uint_fast32_t | hoover_chess_utils::pgn_reader::makePlyNum (std::uint_fast32_t moveNum, Color color) noexcept |
| Computes the ply number from full move number and side to move. | |
| constexpr Color | hoover_chess_utils::pgn_reader::colorOfPly (std::uint_fast32_t plyNum) noexcept |
| Returns side to move for a ply number. | |
| constexpr std::uint_fast32_t | hoover_chess_utils::pgn_reader::moveNumOfPly (std::uint_fast32_t plyNum) noexcept |
| Computes the full move for a ply number. | |