Enchant
Generic spell checking library
|
Additional Inherited Members | |
![]() | |
EnchantDictionaryDescribe_TestFixtureBase (ConfigureHook userConfig) | |
![]() | |
EnchantDictionaryTestFixture (ConfigureHook userConfiguration=BasicDictionary_ProviderConfiguration, const std::string &languageTag="qaa") | |
void | SetLocale (const std::string &locale) |
void | ResetLocale () |
void | ReloadTestDictionary () |
void | InitializeTestDictionary () |
void | FreeTestDictionary () |
bool | PersonalWordListFileHasContents () |
bool | ExcludeFileHasContents () |
bool | BrokerPWLFileHasContents () |
bool | FileHasContents (const std::string &filename) |
std::string | GetPersonalDictFileName () |
std::string | GetExcludeDictFileName () |
void | SetErrorOnMockDictionary (const std::string &error) |
void | FreeStringList (char **list) |
void | FreePwlStringList (char **list) |
bool | IsWordInSession (const std::string &word) |
bool | IsWordInDictionary (const std::string &word) |
void | RemoveWordFromDictionary (const std::string &word) |
void | AddWordToDictionary (const std::string &word) |
void | AddWordsToDictionary (const std::vector< std::string > &sWords) |
void | ExternalAddWordToDictionary (const std::string &word) |
void | ExternalAddWordToExclude (const std::string &word) |
void | ExternalAddNewLineToDictionary () |
void | ExternalAddWordsToDictionary (const std::vector< std::string > &sWords) |
std::vector< std::string > | GetExpectedSuggestions (const std::string &s, size_t begin=0) |
std::vector< std::string > | GetSuggestionsFromWord (const std::string &word) |
std::vector< std::string > | GetSuggestions (const std::string &s) |
![]() | |
EnchantBrokerTestFixture (ConfigureHook userConfiguration=NULL, ConfigureHook user2Configuration=NULL, bool includeNullProviders=false) | |
void | InitializeBroker () |
void | CopyProvider (const std::string &sourceProviderName, const std::string &destinationProviderName) |
EnchantProvider * | GetMockProvider () |
void | SetErrorOnMockProvider (const std::string &error) |
EnchantDict * | RequestDictionary (const std::string &tag) |
EnchantDict * | RequestPersonalDictionary () |
std::string | GetLastPersonalDictionaryFileName () |
void | FreeDictionary (EnchantDict *dictionary) |
![]() | |
void | CleanUpFiles () |
std::string | GetTempUserEnchantDir () |
std::string | GetEnchantConfigDir () |
std::string | Convert (const std::wstring &ws) |
std::wstring | Convert (const std::string &s) |
![]() | |
static void | ExternalAddWordToFile (const std::string &word, const std::string &filename) |
![]() | |
static void | DeleteDirAndFiles (const std::string &dir) |
static std::string | GetTemporaryFilename (const std::string &prefix) |
static void | CreateDirectory (const std::string &filepath) |
static void | CreateFile (const std::string &filepath) |
static void | DeleteFile (const std::string &filepath) |
static bool | FileExists (const std::string &filepath) |
static std::string | AddToPath (const std::string &path, const std::string &fileOrDirName) |
![]() | |
DictionaryDescription | _description |
![]() | |
EnchantDict * | _dict |
EnchantDict * | _pwl |
std::string | _pwlFileName |
std::string | origLangEnv |
bool | hasLangEnv |
std::string | languageTag |
![]() | |
EnchantBroker * | _broker |
GModule * | hModule |
GModule * | hModule2 |