|
UCILoader 1.1.2
Small C++ library that allows user to connect to a chess engines via UCI protocol.
|
Move marshaler for parsing UCI move strings into StandardChessMove objects. More...
#include <StandardChess.h>
Public Member Functions | |
| void | loadInto (const std::string &token, StandardChessMove &target) const override |
| Parse a UCI move string into a StandardChessMove. | |
Public Member Functions inherited from UCILoader::Marschaler< StandardChessMove > | |
| virtual void | loadInto (const std::string &token, StandardChessMove &target) const=0 |
| virtual StandardChessMove | marshal (const std::string &token) const |
Move marshaler for parsing UCI move strings into StandardChessMove objects.
Implements the Marschaler<StandardChessMove> interface to convert UCI protocol move strings (e.g., "e2e4", "g7g8q") into StandardChessMove structures.
Used internally by the UCI parser when receiving move data from engines. This marshaler handles:
|
inlineoverride |
Parse a UCI move string into a StandardChessMove.
| token | The UCI move string ("e2e4" or "e7e8q") |
| target | Reference to StandardChessMove to populate |