|
Scid
4.7.0
|
Implements a parser that converts PGN text into SCID's Game objects. More...


Go to the source code of this file.
Classes | |
| class | PgnVisitor |
| This class implements a PGN "visitor" that invokes the appropriate member functions of the associated Game object for each type of PGN token. More... | |
| struct | PgnParseLog |
| Format and store errors. More... | |
Functions | |
| bool | pgnParseGame (const char *input, size_t inputLen, Game &game, PgnParseLog &log) |
| Convert PGN text into a SCID's Game object. More... | |
Implements a parser that converts PGN text into SCID's Game objects.
Definition in file pgnparse.h.
|
inline |
Convert PGN text into a SCID's Game object.
| input | the memory containing the PGN text. |
| inputLen | the number of chars in input. |
| game | the Game object where the game will be stored. The object is not automatically cleared so that moves can be added to an already existing one. |
| log | stores eventual parsing error. |
Definition at line 374 of file pgnparse.h.
1.8.13