Scid
4.7.0
|
This class implements a PGN "visitor" that invokes the appropriate member functions of the associated Game object for each type of PGN token. More...
#include <pgnparse.h>
Public Member Functions | |
PgnVisitor (Game &g) | |
bool | visitPGN_inputEOF () |
bool | visitPGN_inputUnexpectedPGNHeader () |
bool | visitPGN_Comment (TView comment) |
bool | visitPGN_EndOfLine () |
bool | visitPGN_EPD (TView line) |
bool | visitPGN_Escape (TView) |
bool | visitPGN_MoveNum (TView) |
bool | visitPGN_NAG (TView token) |
bool | visitPGN_ResultFinal (char resultCh) |
bool | visitPGN_SANMove (TView tok) |
bool | visitPGN_Suffix (TView token) |
bool | visitPGN_TagPair (TView tag, TView value) |
bool | visitPGN_Unknown (TView token) |
bool | visitPGN_VariationStart () |
bool | visitPGN_VariationEnd () |
Friends | |
struct | PgnParseLog |
This class implements a PGN "visitor" that invokes the appropriate member functions of the associated Game object for each type of PGN token.
Errors are stored as <line number, error message> pairs; if the maximum number of errors is reached tokens are ignored until the end of the Game.
Definition at line 39 of file pgnparse.h.
|
inlineexplicit |
Definition at line 49 of file pgnparse.h.
|
inline |
Definition at line 66 of file pgnparse.h.
|
inline |
Definition at line 80 of file pgnparse.h.
|
inline |
Definition at line 85 of file pgnparse.h.
|
inline |
Definition at line 98 of file pgnparse.h.
|
inline |
Definition at line 51 of file pgnparse.h.
|
inline |
Definition at line 58 of file pgnparse.h.
|
inline |
Definition at line 100 of file pgnparse.h.
|
inline |
Definition at line 102 of file pgnparse.h.
|
inline |
Definition at line 113 of file pgnparse.h.
|
inline |
Definition at line 139 of file pgnparse.h.
|
inline |
Definition at line 160 of file pgnparse.h.
|
inline |
Definition at line 162 of file pgnparse.h.
|
inline |
Definition at line 182 of file pgnparse.h.
|
inline |
Definition at line 210 of file pgnparse.h.
|
inline |
Definition at line 200 of file pgnparse.h.
|
friend |
Definition at line 46 of file pgnparse.h.