immutable class CODE_KINDS < $ENUMS{CODE_KINDS}


Ancestors
$ENUMS{_} $BINARY $NIL $IS_NIL
$ANCHORED_FMT $FMT $STR $TEXT
$HASH $IS_EQ



Public


Readable Attributes
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.

Constants
const cardinality : CARD := val_count ; .. Included as cardinality
**** the default value!
const offset : CARD := 1 ; .. Included as offset
****
________This_is_the_offset_from_the_index_of_first_element_of_the_Names_array
___(ie_zero)_to_the_first_enumeration_value_numeric_code.

Features
Adobe_Dingbats : SAME
Adobe_Standard : SAME
**** Adobe-Standard-Encoding,
______csAdobeStandardEncoding
Adobe_Symbol : SAME
Apple_Arabic : SAME
Apple_CntEuro : SAME
Apple_Croatian : SAME
Apple_Cyrillic : SAME
Apple_Dingbat : SAME
Apple_Greek : SAME
Apple_Hebrew : SAME
Apple_Iceland : SAME
Apple_Japan : SAME
Apple_Roman : SAME
Apple_Romania : SAME
Apple_Symbol : SAME
Apple_Thai : SAME
Apple_Turkish : SAME
Apple_Ukraine : SAME
Big5 : SAME
CP037 : SAME
**** csIBM037, ebcdic-cp-ca,
__ebcdic-cp-nl,_ebcdic-cp-us,
__ebcdic-cp-wt
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1026 : SAME
**** IBM1026, csIBM1026
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1250 : SAME
**** windows-1250
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1251 : SAME
**** windows-1251
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1252 : SAME
**** windows-1252
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1253 : SAME
**** windows-1253
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1254 : SAME
**** windows-1254
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1255 : SAME
**** windows-1255
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1256 : SAME
**** windows-1256
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1257 : SAME
**** windows-1257
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_1258 : SAME
**** windows-1258
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_437 : SAME
**** 437,
_____csPC8CodePage437
_____ebcdic-CP_-ch)
CP_500 : SAME
**** csIBM500, ebcdic-CP_-be,
_____ebcdic-CP_-ch)
CP_737 : SAME
****
______csPC850Multilingual
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_775 : SAME
**** IBM775, csPC775Baltic
______csPC850Multilingual
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_850 : SAME
**** 850, IBM850,
______csPC850Multilingual
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_852 : SAME
**** 852, IBM852, csPCP_852
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_855 : SAME
**** 855, IBM855, csIBM855
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_857 : SAME
**** 857, IBM857, csIBM857
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_860 : SAME
**** 860, IBM860, csIBM860
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_861 : SAME
**** 861, IBM861, CP_-is,
_____csIBM861
______csPC862LatinHebrew
_____csIBM869
CP_862 : SAME
**** 862, IBM862,
______csPC862LatinHebrew
_____csIBM869
CP_863 : SAME
**** 863, IBM863, csIBM863
_____csIBM869
CP_864 : SAME
**** IBM864, csIBM864
_____csIBM869
CP_865 : SAME
**** 865, IBM865, csIBM865
_____csIBM869
CP_866 : SAME
**** 866, IBM866, csIBM866
_____csIBM869
CP_869 : SAME
**** 869, IBM869, CP_-gr,
_____csIBM869
CP_874 : SAME
CP_875 : SAME
CP_932 : SAME
CP_936 : SAME
CP_949 : SAME
CP_950 : SAME
GB12345_80 : SAME
**** Chinese roman codes
_____codes
GB2312_80 : SAME
**** Chinese ideograph
_____codes
IBM038 : SAME
**** CP038
ISO8859_10 : SAME
**** ISO-IR-157,
______ISO_8859-10:1993,
______L6,_LATIN6)
______ISO_8859-2:1987,
______L2,_LATIN2
______ISO_8859-3:1988,
______L3,_LATIN3
______ISO_8859-4:1988,
______L4,_LATIN4)
______ISO_8859-5:1988)
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_1 : SAME
**** CP819, IBM819,
______ISO-IR-100,ISO_8859-1:1987,
______L1,_LATIN1
______ISO_8859-10:1993,
______L6,_LATIN6)
______ISO_8859-2:1987,
______L2,_LATIN2
______ISO_8859-3:1988,
______L3,_LATIN3
______ISO_8859-4:1988,
______L4,_LATIN4)
______ISO_8859-5:1988)
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_2 : SAME
**** ISO-IR-101,
______ISO_8859-2:1987,
______L2,_LATIN2
______ISO_8859-3:1988,
______L3,_LATIN3
______ISO_8859-4:1988,
______L4,_LATIN4)
______ISO_8859-5:1988)
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_3 : SAME
**** ISO-IR-109,
______ISO_8859-3:1988,
______L3,_LATIN3
______ISO_8859-4:1988,
______L4,_LATIN4)
______ISO_8859-5:1988)
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_4 : SAME
**** ISO-IR-110,
______ISO_8859-4:1988,
______L4,_LATIN4)
______ISO_8859-5:1988)
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_5 : SAME
**** CYRILLIC, ISO-IR-144,
______ISO_8859-5:1988)
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_6 : SAME
**** ARABIC, ASMO-708,
______ECMA-114,_ISO-IR-127,
______ISO_8859-6:1987
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_7 : SAME
**** ECMA-118, ELOT_928,
______GREEK,_GREEK8,_ISO-IR-126,
______ISO_8859-7:1987
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_8 : SAME
**** HEBREW, ISO-IR-138,
______ISO_8859-8:1988
______ISO_8859-9:1989,
______L5,_LATIN5)
ISO8859_9 : SAME
**** ISO-IR-148,
______ISO_8859-9:1989,
______L5,_LATIN5)
JIS_X_0201 : SAME
**** Japanese standards
JIS_X_0208 : SAME
JIS_X_0212 : SAME
MS_Cyrillic : SAME
**** Microsoft variants
MS_Greek : SAME
MS_Iceland : SAME
MS_Latin_2 : SAME
MS_Roman : SAME
MS_Turkish : SAME
NEXT : SAME
**** NEXTSTEP, NeXT
Shift_JIS : SAME
**** Japanese variant
UCS2 : SAME
UCS4 : SAME
US_ASCII : SAME
**** ANSI_X3.4-1968,
______ANSI_X3.4-1986,_ASCII,
______IBM367,_ISO646-US,
______ISO_646.irv:1991,_cp367,
______csASCII,_iso-ir-6,_us
UTF16 : SAME
UTF7 : SAME
UTF8 : SAME
Unicode : SAME
binstr : BINSTR .. Included as binstr
build(cursor : BIN_CURSOR) : SAME .. Included as build
build( loc_cursor : STR_CURSOR ) : SAME .. Included as build
card : CARD .. Included as card
create(str : BINSTR) : SAME .. Included as create
create(num : CARD) : SAME .. Included as create
create( str : STR ) : SAME .. Included as create
****
________This_is_the_creation_routine_from_a_string_which_is_any_of_the
___abbreviations_listed_in_the_Name_table.____If_the_name_table_has_not_been
___read_in_this_is_done_first.
fmt( format : ANCHORED_DESCR ) : STR .. Included as fmt
fmt( format : ANCHORED_DESCR, lib : LIBCHARS ) : STR .. Included as fmt
hash : CARD .. Included as hash
is_enum( str : STR ) : CONVERSION_RESULTS .. Included as is_enum
is_eq(other : SAME) : BOOL .. Included as is_eq
****
________This_predicate_returns_true_if_and_only_if_self_and_other_are_the_same
___value_except_if_either_is_void_when_false_is_returned_identically.
is_eq(other : $OB) : BOOL .. Included as is_eq
**** This is the generic equality predicate. c.f. the class $IS_EQ
is_nil : BOOL .. Included as is_nil
****
________This_predicate_returns_true_if_and_only_if_self_is_'void'.
nil : SAME .. Included as nil
****
________This_feature_returns_a_value_which_is_a_'void'_for_the_enumeration.
___The_language-defined_void_may_be_implemented_differently.
read(index : BIN_CURSOR) : SAME .. Included as read
size : CARD
str( lib : LIBCHARS ) : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_given
___character_repertoire_and_encoding_-_including_a_nil_value.
str : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_default
___character_repertoire_and_encoding_-_including_a_nil_value.
write(fyle : BIN_FILE) .. Included as write

Iters
elt! : SAME .. Included as elt!
****
________This_iter_yields_in_turn_all_of_the_values_in_the_domain_of_the__enumeration.


Private

const Max_Val : CARD := val_count ; .. Included as Max_Val
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
check_names( loc_lib : LIBCHARS ) .. Included as check_names
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.
equals(first_lcase,second : STR) : BOOL .. Included as equals
**** This routine tests for string equality up to the length of first! The test is case independent.
shared lib : LIBCHARS ; .. Included as lib
shared lib : LIBCHARS ; .. Included as lib
lookup(str : STR) : CARD .. Included as lookup
scan!(str : STR) : CARD .. Included as scan!
const size_table : ARRAY{CARD} := | 0,
const val_count : CARD := 83 ;

The Sather Home Page