Scid  4.7.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
PgnParseLog Struct Reference

Format and store errors. More...

#include <pgnparse.h>

Public Member Functions

bool logGame (size_t nBytes, const PgnVisitor &visitor)
 Format and store errors occurred while parsing a Game. More...
 

Public Attributes

std::string log
 
unsigned long long n_bytes = 0
 
unsigned long long n_lines = 0
 
unsigned long long n_games = 0
 

Detailed Description

Format and store errors.

Definition at line 332 of file pgnparse.h.

Member Function Documentation

◆ logGame()

bool PgnParseLog::logGame ( size_t  nBytes,
const PgnVisitor visitor 
)
inline

Format and store errors occurred while parsing a Game.

It also updates the byte, line, and game counters.

Returns
false if part of the game was ignored, true otherwise.

Definition at line 343 of file pgnparse.h.

Member Data Documentation

◆ log

std::string PgnParseLog::log

Definition at line 333 of file pgnparse.h.

◆ n_bytes

unsigned long long PgnParseLog::n_bytes = 0

Definition at line 334 of file pgnparse.h.

◆ n_games

unsigned long long PgnParseLog::n_games = 0

Definition at line 336 of file pgnparse.h.

◆ n_lines

unsigned long long PgnParseLog::n_lines = 0

Definition at line 335 of file pgnparse.h.


The documentation for this struct was generated from the following file: