Inflection
Morphology Inflection
Loading...
Searching...
No Matches
Public Member Functions | List of all members
inflection::dialog::CommonConceptFactoryProvider Class Referenceabstract

Allows creation of CommonConceptFactory by specifying a locale. More...

#include <CommonConceptFactoryProvider.hpp>

+ Inheritance diagram for inflection::dialog::CommonConceptFactoryProvider:

Public Member Functions

virtual const ::inflection::dialog::CommonConceptFactorygetCommonConceptFactory (const ::inflection::util::ULocale &locale)=0
 
 ~CommonConceptFactoryProvider () override
 
- Public Member Functions inherited from inflection::Object
virtual ::std::u16string toString () const
 
virtual ~Object ()
 

Detailed Description

Allows creation of CommonConceptFactory by specifying a locale.

Pass in a locale to get a cached CommonConceptFactory.

Inflection caches CommonConceptFactories in order to save memory across a multithreaded environment. Whenever you need a CommonConceptFactory, please use this class in order to get one.

Definition at line 17 of file CommonConceptFactoryProvider.hpp.

Constructor & Destructor Documentation

◆ ~CommonConceptFactoryProvider()

inflection::dialog::CommonConceptFactoryProvider::~CommonConceptFactoryProvider ( )
override

The destructor

Member Function Documentation

◆ getCommonConceptFactory()

virtual const ::inflection::dialog::CommonConceptFactory * inflection::dialog::CommonConceptFactoryProvider::getCommonConceptFactory ( const ::inflection::util::ULocale locale)
pure virtual

Returns a CommonConceptFactory for the given locale.

Parameters
localeThe locale for the CommonConceptFactory.
Returns
The CommonConceptFactory for the specified locale.

Implemented in inflection::dialog::LocalizedCommonConceptFactoryProvider.


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