Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

scim::CommonBackEnd Class Reference

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

#include <scim_backend.h>

Inheritance diagram for scim::CommonBackEnd:

Inheritance graph
[legend]
Collaboration diagram for scim::CommonBackEnd:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual String get_locales () const
 Get a list of all locales supported by all FrontEnds.

virtual unsigned int number_of_servers () const
 Get the total number of ServerFactory instances held by this BackEnd.

virtual ServerFactoryPointer get_server_factory (unsigned int index)
 Get a ServerFactory instance by its index.

bool add_server_factory (const ServerFactoryPointer &factory)
 Add a ServerFactory instance into this BackEnd.

void set_supported_unicode_locales (const String &locales)
 Set the list of unicode locales which should be supported among the other locales.

String get_supported_unicode_locales () const
 Get the list of supported unicode locales which set by set_supported_unicode_locales.


Detailed Description

The default implementation of scim::BackEndBase interface.

Definition at line 99 of file scim_backend.h.


Member Function Documentation

virtual String scim::CommonBackEnd::get_locales  )  const [virtual]
 

Get a list of all locales supported by all FrontEnds.

Returns:
A comma separated locales list.

Implements scim::BackEndBase.

virtual unsigned int scim::CommonBackEnd::number_of_servers  )  const [virtual]
 

Get the total number of ServerFactory instances held by this BackEnd.

Returns:
The total number of ServerFactory instances in this BackEnd.

Implements scim::BackEndBase.

virtual ServerFactoryPointer scim::CommonBackEnd::get_server_factory unsigned int  index  )  [virtual]
 

Get a ServerFactory instance by its index.

Returns:
The ServerFactoryPointer according to the index.

Implements scim::BackEndBase.

bool scim::CommonBackEnd::add_server_factory const ServerFactoryPointer factory  ) 
 

Add a ServerFactory instance into this BackEnd.

Parameters:
factory - the smart pointer of the ServerFactory instance.

void scim::CommonBackEnd::set_supported_unicode_locales const String locales  ) 
 

Set the list of unicode locales which should be supported among the other locales.

Parameters:
locales - the comma separated list of unicode locales should be supported.

String scim::CommonBackEnd::get_supported_unicode_locales  )  const
 

Get the list of supported unicode locales which set by set_supported_unicode_locales.

Returns:
The comma separated list of supported unicode locales.


The documentation for this class was generated from the following file:
Generated on Fri May 7 17:27:26 2004 for scim by doxygen 1.3.6