immutable class CHAR < $CHAR{CHAR}
****

________This_class_implements_the_notion_of_a_logical_character_(ie_having
___the_semantics_associated_with_such_a_token_in_the_cultural_environment
___concerned)_having_a_single_encoding!
___NOTE_For_characters_which_require_multiple_encodings_see_the_class_RUNE
________in_this_section_of_the_required_library.


Flattened version is here

Ancestors
$CHAR{_} $ANCHORED_FMT $FMT $STR
$BINARY $HASH $IS_EQ $ORDERED{_}
$IS_LT{_} $VALUE{_} $NIL $IS_NIL



Public


Constants
const num_codes : CARD := 1 ;

Features
binstr(lib : LIBCHARS) : BINSTR
binstr : BINSTR
build(index : BIN_CURSOR) : SAME
build(cursor : BIN_CURSOR, lib : LIBCHARS) : SAME
char : SAME
**** This routine returns self.
code(lib : LIBCHARS) : CHAR_CODE
code : CHAR_CODE
****
________This_routine_returns_the_bit-pattern_of_self_as_a_character_code
___belonging_to_the_default_repertoire_and_encoding.__Since_any_bit-pattern
___will_do_there_can_neither_be_sensible_nor_meaningful_pre/post
___conditions!
convert(lib : LIBCHARS) : CHAR
convert( from_lib : LIBCHARS, to_lib : LIBCHARS ) : CHAR
create(code : CHAR_CODE) : SAME
create(code : CONTROL_CODES, lib : LIBCHARS) : SAME
hash : CARD
inspect
inspect_pat
is_eq(other : SAME) : BOOL
****
________This_predicate_returns_true_if_and_only_if_self_and_other_are
___the_same_character_irrespective_of_encoding!!
is_lt(other : SAME) : BOOL
****
________This_predicate_returns_true_if_and_only_if_self_is_earlier_than
___other_in_the_repertoire_defined_ordering_of_characters.
is_nil : BOOL
****
________This_routine_returns_true_if_and_only_if_self_is_the_nil_character.
lower(lib : LIBCHARS) : SAME
lower : SAME
nil : SAME
****
________This_routine_returns_a_nil_value_-_which_cannot_be_a_valid_character.
null : SAME
****
________This_routine_returns_the_character_corresponding_to_the_control
___function_name_NUL.
rune(lib : LIBCHARS) : RUNE
rune : RUNE
****
________This_routine_returns_the_bit-pattern_of_self_as_a_rune_in_the_default
___repertoire_and_encoding.__Since_any_bit-pattern_may_be_used,_there_can_be
___neither_sensible_nor_meaningful_pre/post_conditions.
upper(lib : LIBCHARS) : SAME
upper : SAME
valid(num : CARD) : BOOL
****
________This_predicate_returns_true_if_and_only_if_the_value_of_num_may_be
___interpreted_as_a_character_bit-pattern_in_the_default_repertoire_and
___encoding,_otherwise_false.
valid(num : CARD, lib : LIBCHARS) : BOOL
valid_number(lib : LIBCHARS) : BOOL
**** This predicate is used to test if self CHAR will fit into the
___number_of_bits_available_for_codes_using_lib.___It_returns_true_if_and
___only_if_the_value_will_fit.

Iters
code!(once lib : LIBCHARS) : CHAR_CODE
****
________This_iter_merely_yields_the_single_code_-_in_the_given_encoding_-
___corresponding_to_self!
code! : CHAR_CODE
****
________This_iter_merely_yields_the_single_code!


Private

const asize : CARD := 4 ;
**** Always!

The Sather Home Page