AbstractLangIdResolver Class Reference

The abstract interface for all classes to get language objects by language identifier. More...

Inheritance diagram for AbstractLangIdResolver:

LangManager

List of all members.

Public Member Functions

virtual const LanggetLangById (LangId langId) const =0
 Returns language object by language ID.
virtual ~AbstractLangIdResolver ()
 The destructor.


Detailed Description

In daemon code language objects are usually identified by special language ID values . This interface declares method to translate such language identifiers to a valid language objects for further operations.

Member Function Documentation

virtual const Lang* AbstractLangIdResolver::getLangById ( LangId  langId  )  const [pure virtual]

This method checks if provided language identifier is valid and returns a pointer to corresponding language object or NULL otherwise.

Parameters:
[in] langId The language identifier to get object by
Returns:
The pointer to language object or NULL if language ID is unknown

Implemented in LangManager.


Generated on Thu May 6 16:10:58 2010 for VoiceMan by  doxygen 1.5.9