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

scim::BackEndBase Class Reference

The interface class to manage a set of ServerFactory instances. More...

#include <scim_backend.h>

Inheritance diagram for scim::BackEndBase:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~BackEndBase ()
 Virtual destructor.

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

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

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


Detailed Description

The interface class to manage a set of ServerFactory instances.

This is mainly a helper interface class used by scim::FrontEndBase. Its responsibility is to hold a set of ServerFactory instances and manage the locales list supported by them.

Most developer should just use the default implementation scim::CommonBackEnd.

Definition at line 62 of file scim_backend.h.


Constructor & Destructor Documentation

virtual scim::BackEndBase::~BackEndBase  )  [virtual]
 

Virtual destructor.


Member Function Documentation

virtual String scim::BackEndBase::get_locales  )  const [pure virtual]
 

Get a list of all locales supported by all FrontEnds.

Returns:
A comma separated locales list.

Implemented in scim::CommonBackEnd.

virtual unsigned int scim::BackEndBase::number_of_servers  )  const [pure virtual]
 

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

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

Implemented in scim::CommonBackEnd.

virtual ServerFactoryPointer scim::BackEndBase::get_server_factory unsigned int  index  )  [pure virtual]
 

Get a ServerFactory instance by its index.

Returns:
The ServerFactoryPointer according to the index.

Implemented in scim::CommonBackEnd.


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