Sather Home Page

Section 8.6:
Cultural Classes

This section of the required library contains definitions of those abstractions and classes which provide the internationalisation/localisation features of the library (as defined in ISO/IEC 14652 and 14651. They are needed to support other library sections, in particular the Text section.

  1. Immutable Classes

    1. CHAR_CLASS - this enumeration class defines all of the different classes (groups - not Sather classes) to which a character may belong.
    2. CHAR_MAPPINGS - this enumeration class defines all of the kinds of mapping to which characters may be subject.
    3. CAL_DISPLAY_ORDERS - this enumeration class defines the four possible direction for tabular layout of calendar sections.
    4. TIME_SUFFIX - this enumeration class defines the sections of the day for use when relative time (eg am or pm) is to be represented as text.
    5. ADDRESS_ELEMS - this class enumerates the components of an address as specified in ISO/IEC 14652.
    6. SALUTATIONS - this enumeration class defines the standard internationlly defined honorifics for use in addressing people by name (for example, 'Mr' and 'Mrs, 'Herr' and 'Frau').
    7. VERSION_COMPS - this enumeration class defines the individual sections of which the standard Version component is made up.
    8. CAT_STANDARDS - this enumeration class defines the standards to which a cultural specification may conform.
    9. TOKEN - this class implements tokens which are needed to represent sequences of one or more characters (which, of course, may each have one or more encodings) for use in determining the collating order of strings.
  2. Reference Classes

    1. LIBCHARS - this class implements the notion of a library of special characters, including those needed for conversion from digit values to digit characters. The characters and features of this class are culture-dependent, determined at run-time.
    2. CHAR_GROUP - this class implements the notion of a group of natural language 'characters' which shares a common property - eg a letter or a digit.
    3. CHAR_MAP - this class implements a mapping from one kind of character to another (eg lower to upper case letters).
    4. CHAR_TYPES - this class is a container for character groups, character mappings and character synonyms (different encodings for the same logical character).
    5. CODE_STR - this class implements the variable length string of encodings which correspond to a character name token. It may also be useful for low-level encoding manipulation.
    6. CULTURE - this class implements the run-time structures needed to provide all culturally defined features as defined in the relevant standards.
    7. ADDRESSING - this class is an implementation of a postal address, including its formatting.
    8. TEMPORAL - this class implements the temporal properties relating to time and date specified in the standard.
    9. CASH - this class implements the properties relating to monetary values as specified in the standard.
    10. NAMING - this class implements the properties relating to the names of individuals as specified in the standard.
    11. NUMBERS - this class implements the properties relating to numeric value representation as specified in the standard.
    12. PHONING - this class implements the properties relating to telephone number representation as specified in the standard.
    13. VERSION - this class implements the informatory comments which are specified in the standard for a cultural source description file.
    14. REP_MAP - this class implements the repertoire map specified in the standard for encoding/decoding individual named code-points. It supersedes the earlier map known as a charmap in the POSIX standard.
    15. REPERTOIRE - this class implements the tables required when carrying out string ordering according to ISO/IEC 14651.
    16. RESOURCES - this class implements the message file store (see the Resource section of these specifications.

Language Index Library Index
Comments or enquiries should be made to Keith Hopper.
Page last modified: Tuesday, 30 May 2000.
Produced with Amaya