Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SWLocale Class Reference

SWLocale is used for the localisation of the booknames The SWLocale is a class which holds the information of one language. More...

#include <swlocale.h>

List of all members.

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. More...

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
SWConfiglocaleSource
char * name
char * description
abbrev * bookAbbrevs
char * BMAX
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

virtual const char* SWLocale::getDescription [virtual]
 

Returns:
The description. A possible example is "German".

virtual 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".


The documentation for this class was generated from the following file:
Generated at Tue Jan 22 14:52:49 2002 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001