LibreOffice Module linguistic (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ThesaurusDispatcher Class Reference

#include <thesdsp.hxx>

Inheritance diagram for ThesaurusDispatcher:
[legend]
Collaboration diagram for ThesaurusDispatcher:
[legend]

Public Member Functions

 ThesaurusDispatcher ()
 
virtual ~ThesaurusDispatcher () override
 
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getLocales () override
 
virtual sal_Bool SAL_CALL hasLocale (const css::lang::Locale &aLocale) override
 
virtual css::uno::Sequence< css::uno::Reference< css::linguistic2::XMeaning > > SAL_CALL queryMeanings (const OUString &aTerm, const css::lang::Locale &aLocale, const css::uno::Sequence< ::css::beans::PropertyValue > &aProperties) override
 
virtual void SetServiceList (const css::lang::Locale &rLocale, const css::uno::Sequence< OUString > &rSvcImplNames) override
 
virtual css::uno::Sequence< OUString > GetServiceList (const css::lang::Locale &rLocale) const override
 
virtual void SetServiceList (const css::lang::Locale &rLocale, const css::uno::Sequence< OUString > &rSvcImplNames)=0
 
virtual css::uno::Sequence< OUString > GetServiceList (const css::lang::Locale &rLocale) const =0
 

Private Types

typedef std::shared_ptr< LangSvcEntries_ThesLangSvcEntries_Thes_Ptr_t
 
typedef std::map< LanguageType, LangSvcEntries_Thes_Ptr_tThesSvcByLangMap_t
 

Private Member Functions

 ThesaurusDispatcher (const ThesaurusDispatcher &)=delete
 
ThesaurusDispatcheroperator= (const ThesaurusDispatcher &)=delete
 
const css::uno::Reference< css::linguistic2::XLinguProperties > & GetPropSet ()
 
void ClearSvcList ()
 

Private Attributes

ThesSvcByLangMap_t aSvcMap
 
css::uno::Reference< css::linguistic2::XLinguProperties > xPropSet
 

Additional Inherited Members

- Protected Member Functions inherited from LinguDispatcher
 ~LinguDispatcher ()
 

Detailed Description

Definition at line 38 of file thesdsp.hxx.

Member Typedef Documentation

◆ LangSvcEntries_Thes_Ptr_t

Definition at line 42 of file thesdsp.hxx.

◆ ThesSvcByLangMap_t

Definition at line 43 of file thesdsp.hxx.

Constructor & Destructor Documentation

◆ ThesaurusDispatcher() [1/2]

ThesaurusDispatcher::ThesaurusDispatcher ( const ThesaurusDispatcher )
privatedelete

◆ ThesaurusDispatcher() [2/2]

ThesaurusDispatcher::ThesaurusDispatcher ( )

Definition at line 54 of file thesdsp.cxx.

◆ ~ThesaurusDispatcher()

ThesaurusDispatcher::~ThesaurusDispatcher ( )
overridevirtual

Definition at line 59 of file thesdsp.cxx.

References ClearSvcList().

Member Function Documentation

◆ ClearSvcList()

void ThesaurusDispatcher::ClearSvcList ( )
private

Definition at line 65 of file thesdsp.cxx.

References aSvcMap.

Referenced by ~ThesaurusDispatcher().

◆ getLocales()

Sequence< Locale > SAL_CALL ThesaurusDispatcher::getLocales ( )
overridevirtual

◆ GetPropSet()

const css::uno::Reference< css::linguistic2::XLinguProperties > & ThesaurusDispatcher::GetPropSet ( )
inlineprivate

Definition at line 82 of file thesdsp.hxx.

References linguistic::GetLinguProperties(), and xPropSet.

Referenced by queryMeanings().

◆ GetServiceList()

Sequence< OUString > ThesaurusDispatcher::GetServiceList ( const css::lang::Locale &  rLocale) const
overridevirtual

◆ hasLocale()

sal_Bool SAL_CALL ThesaurusDispatcher::hasLocale ( const css::lang::Locale &  aLocale)
overridevirtual

Definition at line 88 of file thesdsp.cxx.

References aSvcMap, linguistic::GetLinguMutex(), and linguistic::LinguLocaleToLanguage().

Referenced by queryMeanings().

◆ operator=()

ThesaurusDispatcher & ThesaurusDispatcher::operator= ( const ThesaurusDispatcher )
privatedelete

◆ queryMeanings()

Sequence< Reference< XMeaning > > SAL_CALL ThesaurusDispatcher::queryMeanings ( const OUString &  aTerm,
const css::lang::Locale &  aLocale,
const css::uno::Sequence< ::css::beans::PropertyValue > &  aProperties 
)
overridevirtual

◆ SetServiceList()

void ThesaurusDispatcher::SetServiceList ( const css::lang::Locale &  rLocale,
const css::uno::Sequence< OUString > &  rSvcImplNames 
)
overridevirtual

Member Data Documentation

◆ aSvcMap

ThesSvcByLangMap_t ThesaurusDispatcher::aSvcMap
private

◆ xPropSet

css::uno::Reference< css::linguistic2::XLinguProperties > ThesaurusDispatcher::xPropSet
private

Definition at line 46 of file thesdsp.hxx.

Referenced by GetPropSet().


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