#include <AspellWrapperClass.hpp>
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) |
| alternatives & | suggestWords (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) |
| alternatives & | suggestWords (string word) |
| ~AspellWrapper () | |
Public Attributes | |
| string | error |
| alternatives | suggestions |
Private Attributes | |
| AspellConfig * | config |
| AspellSpeller * | speller |
| AspellConfig * | config |
| AspellSpeller * | speller |
Definition at line 31 of file AspellWrapperClass.hpp.
| AspellWrapper::AspellWrapper | ( | string | lang = "en_US" |
) | [inline] |
Definition at line 41 of file AspellWrapperClass.hpp.
References aspell_config_replace(), aspell_error(), aspell_error_message(), config, delete_aspell_can_have_error(), delete_aspell_config(), error, new_aspell_config(), new_aspell_speller(), speller, and to_aspell_speller().
| AspellWrapper::~AspellWrapper | ( | ) | [inline] |
Definition at line 149 of file AspellWrapperClass.hpp.
References delete_aspell_speller(), and speller.
| AspellWrapper::AspellWrapper | ( | string | lang = "en_US" |
) | [inline] |
Definition at line 41 of file AspellWrapperClass.hpp.
References aspell_config_replace(), aspell_error(), aspell_error_message(), config, delete_aspell_can_have_error(), delete_aspell_config(), error, new_aspell_config(), new_aspell_speller(), speller, and to_aspell_speller().
| AspellWrapper::~AspellWrapper | ( | ) | [inline] |
Definition at line 149 of file AspellWrapperClass.hpp.
References delete_aspell_speller(), and speller.
| 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().
Definition at line 107 of file AspellWrapperClass.hpp.
References checkWord(), ocString::parseInit(), and ocString::tokenParse().
| alternatives& AspellWrapper::suggestWords | ( | string | word | ) | [inline] |
Definition at line 128 of file AspellWrapperClass.hpp.
References aspell_speller_suggest(), aspell_string_enumeration_next(), aspell_word_list_elements(), delete_aspell_string_enumeration(), speller, and suggestions.
Referenced by main().
| 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().
Definition at line 107 of file AspellWrapperClass.hpp.
References checkWord(), ocString::parseInit(), and ocString::tokenParse().
| alternatives& AspellWrapper::suggestWords | ( | string | word | ) | [inline] |
Definition at line 128 of file AspellWrapperClass.hpp.
References aspell_speller_suggest(), aspell_string_enumeration_next(), aspell_word_list_elements(), delete_aspell_string_enumeration(), speller, and suggestions.
AspellConfig* AspellWrapper::config [private] |
AspellSpeller* AspellWrapper::speller [private] |
Definition at line 35 of file AspellWrapperClass.hpp.
Referenced by addWords(), AspellWrapper(), checkWord(), suggestWords(), and ~AspellWrapper().
| string AspellWrapper::error |
AspellConfig* AspellWrapper::config [private] |
Definition at line 34 of file AspellWrapperClass.hpp.
AspellSpeller* AspellWrapper::speller [private] |
Definition at line 35 of file AspellWrapperClass.hpp.
1.5.5