AspellWrapper Class Reference

#include <AspellWrapperClass.hpp>

List of all members.

Public Member Functions

 AspellWrapper (string lang="en_US")
bool addWords (string path)
bool checkWord (string word)
bool checkText (ocString text)
bool checkText (ocString text, wordlist &badWords)
alternativessuggestWords (string word)
 ~AspellWrapper ()
 AspellWrapper (string lang="en_US")
bool addWords (string path)
bool checkWord (string word)
bool checkText (ocString text)
bool checkText (ocString text, wordlist &badWords)
alternativessuggestWords (string word)
 ~AspellWrapper ()

Public Attributes

string error
alternatives suggestions

Private Attributes

AspellConfigconfig
AspellSpellerspeller
AspellConfigconfig
AspellSpellerspeller


Detailed Description

Definition at line 31 of file AspellWrapperClass.hpp.


Constructor & Destructor Documentation

AspellWrapper::AspellWrapper ( string  lang = "en_US"  )  [inline]

AspellWrapper::~AspellWrapper (  )  [inline]

Definition at line 149 of file AspellWrapperClass.hpp.

References delete_aspell_speller(), and speller.

AspellWrapper::AspellWrapper ( string  lang = "en_US"  )  [inline]

AspellWrapper::~AspellWrapper (  )  [inline]

Definition at line 149 of file AspellWrapperClass.hpp.

References delete_aspell_speller(), and speller.


Member Function Documentation

bool AspellWrapper::addWords ( string  path  )  [inline]

Definition at line 65 of file AspellWrapperClass.hpp.

References aspell_speller_add_to_session(), and speller.

Referenced by main().

bool AspellWrapper::checkWord ( string  word  )  [inline]

Definition at line 82 of file AspellWrapperClass.hpp.

References aspell_speller_check(), and speller.

Referenced by checkText(), and main().

bool AspellWrapper::checkText ( ocString  text  )  [inline]

Definition at line 91 of file AspellWrapperClass.hpp.

References checkWord(), ocString::parseInit(), and ocString::tokenParse().

Referenced by main().

bool AspellWrapper::checkText ( ocString  text,
wordlist badWords 
) [inline]

alternatives& AspellWrapper::suggestWords ( string  word  )  [inline]

bool AspellWrapper::addWords ( string  path  )  [inline]

Definition at line 65 of file AspellWrapperClass.hpp.

References aspell_speller_add_to_session(), and speller.

bool AspellWrapper::checkWord ( string  word  )  [inline]

Definition at line 82 of file AspellWrapperClass.hpp.

References aspell_speller_check(), and speller.

bool AspellWrapper::checkText ( ocString  text  )  [inline]

Definition at line 91 of file AspellWrapperClass.hpp.

References checkWord(), ocString::parseInit(), and ocString::tokenParse().

bool AspellWrapper::checkText ( ocString  text,
wordlist badWords 
) [inline]

alternatives& AspellWrapper::suggestWords ( string  word  )  [inline]


Member Data Documentation

Definition at line 34 of file AspellWrapperClass.hpp.

Referenced by AspellWrapper().

Definition at line 37 of file AspellWrapperClass.hpp.

Referenced by AspellWrapper(), and main().

Definition at line 38 of file AspellWrapperClass.hpp.

Referenced by suggestWords().

Definition at line 34 of file AspellWrapperClass.hpp.

Definition at line 35 of file AspellWrapperClass.hpp.


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

Generated on Sat Aug 15 12:48:07 2009 for w3systemsDevelopment by  doxygen 1.5.5