Locl Class Reference

class Locl

An interface defined to provide support for localisation for components that are too low-level to participate in the normal EPOC localisation mechanisms.

Public Member Functions
IMPORT_C const TLocaleText *const *AmPmTable()
IMPORT_C const LCharSet *CharSet()
IMPORT_C const TLocaleText *CollTable()
IMPORT_C const TLocaleText *CurrencySymbol()
IMPORT_C const TLocaleText *const *DateSuffixTable()
IMPORT_C const TLocaleText *const *DayAbbTable()
IMPORT_C const TLocaleText *const *DayTable()
IMPORT_C const TFatUtilityFunctions *FatUtilityFunctions()
IMPORT_C const TLocaleText *FoldTable()
IMPORT_C TLanguageLanguage()
IMPORT_C voidLocaleData(SLocaleData *)
IMPORT_C const TLocaleText *LongDateFormatSpec()
IMPORT_C const TLocaleText *LowerTable()
IMPORT_C const TLocaleText *const *MonthAbbTable()
IMPORT_C const TLocaleText *const *MonthTable()
IMPORT_C const TLocaleText *const *MsgTable()
IMPORT_C const TLocaleText *ShortDateFormatSpec()
IMPORT_C const TLocaleText *TimeFormatSpec()
IMPORT_C const TUint8 *TypeTable()
IMPORT_C TBoolUniCode()
IMPORT_C const TLocaleText *UpperTable()

Member Functions Documentation

AmPmTable()

IMPORT_C const TLocaleText *const *AmPmTable()[static]

Returns the address of the ampm table.

Gets the address of the AmPm table, which stores the expression for the morning and the afternoon, in English, "am" for the morning and "pm" for the afternoon.

CharSet()

IMPORT_C const LCharSet *CharSet()[static]

Returns the address of the locale character set object: contains collation rules etc.

Gets the address of the locale character set object which contains collation rules etc. It is used in Unicode builds to supply locale-specific character attribute and collation data.

CollTable()

IMPORT_C const TLocaleText *CollTable()[static]

Returns the address of the collate table.

Gets the address of the collate table. The collate table does not exist in the Unicode build. This table is used to collate strings to remove differences between characters that are deemed unimportant for the purposes of ordering characters.

CurrencySymbol()

IMPORT_C const TLocaleText *CurrencySymbol()[static]

Returns the address of the Currency Symbol.

Gets the address of the currency symbol, e.g. '$' for US dollar.

DateSuffixTable()

IMPORT_C const TLocaleText *const *DateSuffixTable()[static]

Returns the address of the data suffix table.

Gets the address of the date suffix table. A date suffix table stores the suffix strings of the 31 days in a month, e.g. in English, "st" for first day of the month, "nd" for the second day of the month.

DayAbbTable()

IMPORT_C const TLocaleText *const *DayAbbTable()[static]

Returns the address of the abbreviated day table.

Gets the address of the abbreviated day table, which stores the abbreviated names of weekdays. In English, it starts with "Mon" and ends with "Sun".

DayTable()

IMPORT_C const TLocaleText *const *DayTable()[static]

Returns the address of the day table.

Gets the address of the day table, which stores the names of weekdays. In English, it starts with "Monday" and ends with "Sunday".

FatUtilityFunctions()

IMPORT_C const TFatUtilityFunctions *FatUtilityFunctions()[static]

Returns the addresses of the FAT utility functions.

Gets the address of the FAT utility functions.

FoldTable()

IMPORT_C const TLocaleText *FoldTable()[static]

Returns the address of the fold table.

Gets the address of the fold table. The fold table does not exist in the Unicode build. It is used to fold the character according to a specified folding method: converting characters to their lower case form, if any; stripping accents; converting digits representing values 0..9 to characters '0'..'9' etc..

Language()

IMPORT_C TLanguageLanguage()[static]

Returns the Language type.

Gets the current language type.

LocaleData(SLocaleData *)

IMPORT_C voidLocaleData(SLocaleData *aLocale)[static]

Create the Localisation Table.

Creates the localisation table.

Parameters

SLocaleData * aLocaleA pointer to the structure to be created. It holds the system's locale settings.

LongDateFormatSpec()

IMPORT_C const TLocaleText *LongDateFormatSpec()[static]

Returns the address of the long date format.

Gets the address of the long date format.

LowerTable()

IMPORT_C const TLocaleText *LowerTable()[static]

Returns the address of the lowercase table.

Gets the address of the lowercase table. The lowercase table does not exist in the Unicode build. It is used to convert the letter in uppercase to lowercase.

MonthAbbTable()

IMPORT_C const TLocaleText *const *MonthAbbTable()[static]

Returns the address of the abbreviated month table.

Gets the address of the abbreviated month table, which stores the abbreviated names of the months, In English, it starts with "Jan", and ends with "Dec".

MonthTable()

IMPORT_C const TLocaleText *const *MonthTable()[static]

Returns the address of the month table.

Gets the address of the month table, which stores the names of the months. In English, it starts with "January", and ends with "December".

MsgTable()

IMPORT_C const TLocaleText *const *MsgTable()[static]

Returns the address of the message table.

Gets the address of the message table. The message table contains messages that the base software may need to issue without the benefit of access to compiled resources.

ShortDateFormatSpec()

IMPORT_C const TLocaleText *ShortDateFormatSpec()[static]

Returns the address of the short date format.

Gets the address of the short date format.

TimeFormatSpec()

IMPORT_C const TLocaleText *TimeFormatSpec()[static]

Returns the address of the time format.

Gets the address of the time format.

TypeTable()

IMPORT_C const TUint8 *TypeTable()[static]

Returns the address of the character type conversion table.

Gets the address of the character type conversion table. The character type conversion table does not exist in the Unicode build. This table has 256 items which classifies 256 ASCII codes into: Uppercase letter, Lowercase letter, Punctuation, Decimal digit etc..

UniCode()

IMPORT_C TBoolUniCode()[static]

Returns whether it is a Unicode Build or not.

Check whether it is a Unicode Build.

UpperTable()

IMPORT_C const TLocaleText *UpperTable()[static]

Returns the address of the uppercase table.

Gets the address of the uppercase table. The uppercase table does not exist in the Unicode build. It is used to convert the letter in lowercase to uppercase.