Sather Home Page

Section 8.3:
Code Classes

 

This section of the Required Library contains definitions of those abstractions and classes which define encodings of glyphs of various kinds. The concept of code conversion and the necessary mappings to do this also naturally falls into this section of the library. Note that encodings which may be used are those registered in the international character code registry in addition to those specified by international standards.

  1. Abstract Classes

    1. $CODE_MAPPER - this abstraction models a mapper from/to unicode (ISO/IEC 10646 standard) codes using an externally provided mapping object.
    2. $CODE_CONVERTER - this abstraction models an object capable of converting to/from any known encoding.
  2. Immutable Classes

  3. Reference Classes

    1. MAP_FILE - (see above) This is the map file object class.
    2. MAP_HEADER - (see above) This is the map file header which may contain useful textual information - if such was found on the map file.
    3. CODE_MAPPER - an entity which will carry out single conversions from/to a particular encoding and ISO/IEC 10646 (often referred to as Unicode although there is a technical difference between the two specifications - not involving the code bit-patterns)
    4. CODE_CONVERTER - an entity which can convert from any encoding known in the CODE_KINDS enumeration to any other encoding in that list.

 


Language Index Library Index
Comments or enquiries should be made to Keith Hopper.
Page last modified: Friday, 10 March 2000.
Produced with Amaya