LibreOffice Module linguistic (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
linguistic::SpellCache Class Referencefinal

#include <iprcache.hxx>

Collaboration diagram for linguistic::SpellCache:
[legend]

Public Member Functions

 SpellCache ()
 
 ~SpellCache ()
 
void Flush ()
 
void AddWord (const OUString &rWord, LanguageType nLang)
 
bool CheckWord (const OUString &rWord, LanguageType nLang)
 

Private Types

typedef std::set< OUString > WordList_t
 
typedef std::map< LanguageType, WordList_tLangWordList_t
 

Private Member Functions

 SpellCache (const SpellCache &)=delete
 
SpellCacheoperator= (const SpellCache &)=delete
 

Private Attributes

rtl::Reference< FlushListenermxFlushLstnr
 
LangWordList_t aWordLists
 

Detailed Description

Definition at line 73 of file iprcache.hxx.

Member Typedef Documentation

◆ LangWordList_t

Definition at line 78 of file iprcache.hxx.

◆ WordList_t

typedef std::set< OUString > linguistic::SpellCache::WordList_t
private

Definition at line 77 of file iprcache.hxx.

Constructor & Destructor Documentation

◆ SpellCache() [1/2]

linguistic::SpellCache::SpellCache ( const SpellCache )
privatedelete

◆ SpellCache() [2/2]

linguistic::SpellCache::SpellCache ( )

after reference is established

after reference is established

Definition at line 185 of file iprcache.cxx.

References linguistic::GetDictionaryList(), linguistic::GetLinguProperties(), and mxFlushLstnr.

◆ ~SpellCache()

linguistic::SpellCache::~SpellCache ( )

Definition at line 194 of file iprcache.cxx.

References mxFlushLstnr.

Member Function Documentation

◆ AddWord()

void linguistic::SpellCache::AddWord ( const OUString &  rWord,
LanguageType  nLang 
)

◆ CheckWord()

bool linguistic::SpellCache::CheckWord ( const OUString &  rWord,
LanguageType  nLang 
)

◆ Flush()

void linguistic::SpellCache::Flush ( void  )

◆ operator=()

SpellCache & linguistic::SpellCache::operator= ( const SpellCache )
privatedelete

Member Data Documentation

◆ aWordLists

LangWordList_t linguistic::SpellCache::aWordLists
private

Definition at line 79 of file iprcache.hxx.

Referenced by AddWord(), CheckWord(), and Flush().

◆ mxFlushLstnr

rtl::Reference<FlushListener> linguistic::SpellCache::mxFlushLstnr
private

Definition at line 75 of file iprcache.hxx.

Referenced by SpellCache(), and ~SpellCache().


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