scim  1.4.18
scim::CommonBackEnd Class Reference

The default implementation of scim::BackEndBase interface. More...

#include <scim_backend.h>

Public Member Functions

 CommonBackEnd (const ConfigPointer &config, const std::vector< String > &modules)
 Constructor. More...
 
virtual ~CommonBackEnd ()
 
- Public Member Functions inherited from scim::BackEndBase
String get_all_locales () const
 Get a list of all locales supported by all IMEngineFactories. More...
 
IMEngineFactoryPointer get_factory (const String &uuid) const
 
uint32 get_factories_for_encoding (std::vector< IMEngineFactoryPointer > &factories, const String &encoding=String("")) const
 Get the IMEngine factories list for specific encoding. More...
 
uint32 get_factories_for_language (std::vector< IMEngineFactoryPointer > &factories, const String &language=String("")) const
 Get the IMEngine factories list for specific language. More...
 
IMEngineFactoryPointer get_default_factory (const String &language, const String &encoding) const
 Get the default IMEngineFactory for a specific language and encoding. More...
 
void set_default_factory (const String &language, const String &uuid)
 Set the default IMEngineFactory for a specific language. More...
 
IMEngineFactoryPointer get_next_factory (const String &language, const String &encoding, const String &cur_uuid) const
 Get the next IMEngineFactory for a specific language and encoding. More...
 
IMEngineFactoryPointer get_previous_factory (const String &language, const String &encoding, const String &cur_uuid) const
 Get the previous IMEngineFactory for a specific language and encoding. More...
 
- Public Member Functions inherited from scim::ReferencedObject
bool is_referenced () const
 
void ref ()
 Increase an object's reference count by one. More...
 
void unref ()
 

Additional Inherited Members

- Protected Member Functions inherited from scim::BackEndBase
 BackEndBase (const ConfigPointer &config)
 Default constructor. More...
 
virtual ~BackEndBase ()
 
bool add_factory (const IMEngineFactoryPointer &factory)
 
void clear ()
 
- Protected Member Functions inherited from scim::ReferencedObject
 ReferencedObject ()
 Constructor. More...
 
virtual ~ReferencedObject ()=0
 Destructor. More...
 
void set_referenced (bool reference)
 

Detailed Description

The default implementation of scim::BackEndBase interface.

Constructor & Destructor Documentation

◆ CommonBackEnd()

scim::CommonBackEnd::CommonBackEnd ( const ConfigPointer config,
const std::vector< String > &  modules 
)

Constructor.

Parameters
configThe pointer to the Config object.
modulesThe list of the IMEngine modules to be loaded.

◆ ~CommonBackEnd()

virtual scim::CommonBackEnd::~CommonBackEnd ( )
virtual

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