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

class SpellChkLoader - load data into a SpellChecker object More...

Public Member Functions

 SpellChkLoader (SpellChecker &sp, SpellChecker::SpellChkValidate &v)
 
errorT load (const Parser &data, bool *keepBuffer)
 

Detailed Description

class SpellChkLoader - load data into a SpellChecker object

This class take parsed "spelling" data and store it into the right data members of the associated SpellChecker object. Reading from a "spelling" file is not stateless and the Parser object cannot contain all the necessary data: a SpellChkLoader object keep track of the current nameT section and the current correct name. The SpellChkValidate object is used to log ignored data, usually caused by typos like "@Eol" or "@Preffix".

Definition at line 133 of file spellchk.cpp.

Constructor & Destructor Documentation

SpellChkLoader::SpellChkLoader ( SpellChecker sp,
SpellChecker::SpellChkValidate &  v 
)
inline

Definition at line 140 of file spellchk.cpp.

Member Function Documentation

errorT SpellChkLoader::load ( const Parser &  data,
bool *  keepBuffer 
)
inline

Definition at line 144 of file spellchk.cpp.


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