Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

sword::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>

Collaboration diagram for sword::SWLocale:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SWLocale (const char *ifilename)
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 void augment (SWLocale &addFrom)
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.


Member Function Documentation

const char * sword::SWLocale::getDescription   [virtual]
 

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

const char * sword::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 files:
Generated on Fri Feb 28 22:01:44 2003 for The Sword Project by doxygen1.3-rc3