NAME
SWLocale - SWLocale is used for the localisation of the booknames The SWLocale is a class which holds the information of one language.
SYNOPSIS
#include <swlocale.h>
Public Methods
SWLocale (const char *ifilename)
virtual ~SWLocale ()
virtual const char* getName ()
This function is used to get the name of the languages which this object is handling. virtual const char* getDescription ()
virtual const char* translate (const char *text)
virtual SWLocale& operator+= (SWLocale &addFrom)
virtual const struct abbrev* getBookAbbrevs ()
virtual void getBooks (char **iBMAX, struct sbook ***ibooks)
Private Attributes
LookupMap lookupTable
SWConfig* localeSource
char* name
char* description
struct abbrev* bookAbbrevs
char* BMAX
struct sbook** books
DETAILED DESCRIPTION
SWLocale is used for the localisation of the booknames The SWLocale is a class which holds the information of one language.
Every language supported by Sword has one SWLocale object, get the name of the Language using
See also: getname of this class. Another functions useful for frontend developers is , getDescription.
Definition at line 44 of file swlocale.h.
MEMBER FUNCTION DOCUMENTATION
const char * SWLocale::getDescription () [virtual]
Returns: The description. A possible example is "German".
const char * SWLocale::getName () [virtual]
This function is used to get the name of the languages which this object is handling.
Returns: The name of the managed language. A possible example is "de".
AUTHOR
Generated automatically by Doxygen for The Sword Project from the source code.