|
UCILoader 1.1.2
Small C++ library that allows user to connect to a chess engines via UCI protocol.
|
#include <Parser.h>
Public Member Functions | |
| virtual void | loadInto (const std::string &token, Target &target) const =0 |
| virtual Target | marshal (const std::string &token) const |
The move Marschaler interface provides a functionality of parsing move tokens from UCI protocol into usable objects. It is possible to implement this interface for any custom move representation as long as that representation is default constructible. It is especially useful for chess variants that do not obey standard chess move notation and custom parsing logic / move representation is required.
In order to implement this interface user should provide a loadInto() method.
|
pure virtual |
Parses value of 'token' string into 'target' object.
|
inlinevirtual |
Returns parsed value of given token