Scid  4.6.5
Public Member Functions | List of all members
PgnParser Class Reference

#include <pgnparse.h>

Public Member Functions

 PgnParser (void)
 
 PgnParser (const char *inbuffer)
 
 ~PgnParser ()
 
void Reset (MFile *infile)
 
void Reset (const char *inbuffer)
 
uint BytesUsed (void)
 
uint ErrorCount ()
 
const char * ErrorMessages ()
 
void KeepPreGameText ()
 
void IgnorePreGameText ()
 
void SetPreGameText (bool b)
 
void SetEndOfInputWarnings (bool b)
 
void SetResultWarnings (bool b)
 
void AddIgnoredTag (const char *tag)
 
void ClearIgnoredTags ()
 
bool IsIgnoredTag (const char *tag)
 
tokenT GetNextToken (char *buffer, uint bufSize)
 
errorT ParseGame (Game *game)
 
errorT ParseMoves (Game *game)
 
errorT ParseMoves (Game *game, char *buffer, uint bufSize)
 

Detailed Description

Definition at line 35 of file pgnparse.h.

Constructor & Destructor Documentation

PgnParser::PgnParser ( void  )
inline

Definition at line 84 of file pgnparse.h.

PgnParser::PgnParser ( const char *  inbuffer)
inline

Definition at line 85 of file pgnparse.h.

PgnParser::~PgnParser ( )
inline

Definition at line 86 of file pgnparse.h.

Member Function Documentation

void PgnParser::AddIgnoredTag ( const char *  tag)

Definition at line 152 of file pgnparse.cpp.

uint PgnParser::BytesUsed ( void  )
inline

Definition at line 91 of file pgnparse.h.

void PgnParser::ClearIgnoredTags ( )

Definition at line 161 of file pgnparse.cpp.

uint PgnParser::ErrorCount ( )
inline

Definition at line 92 of file pgnparse.h.

const char* PgnParser::ErrorMessages ( )
inline

Definition at line 93 of file pgnparse.h.

tokenT PgnParser::GetNextToken ( char *  buffer,
uint  bufSize 
)

Definition at line 967 of file pgnparse.cpp.

void PgnParser::IgnorePreGameText ( )
inline

Definition at line 95 of file pgnparse.h.

bool PgnParser::IsIgnoredTag ( const char *  tag)

Definition at line 170 of file pgnparse.cpp.

void PgnParser::KeepPreGameText ( )
inline

Definition at line 94 of file pgnparse.h.

errorT PgnParser::ParseGame ( Game game)

Definition at line 1215 of file pgnparse.cpp.

errorT PgnParser::ParseMoves ( Game game)

Definition at line 1028 of file pgnparse.cpp.

errorT PgnParser::ParseMoves ( Game game,
char *  buffer,
uint  bufSize 
)

Definition at line 1038 of file pgnparse.cpp.

void PgnParser::Reset ( MFile infile)

Definition at line 97 of file pgnparse.cpp.

void PgnParser::Reset ( const char *  inbuffer)

Definition at line 115 of file pgnparse.cpp.

void PgnParser::SetEndOfInputWarnings ( bool  b)
inline

Definition at line 97 of file pgnparse.h.

void PgnParser::SetPreGameText ( bool  b)
inline

Definition at line 96 of file pgnparse.h.

void PgnParser::SetResultWarnings ( bool  b)
inline

Definition at line 98 of file pgnparse.h.


The documentation for this class was generated from the following files: