class CODE_STR < $IS_EQ, $BINARY, $ELT{CHAR_CODE}
****

________This_class_is_used_for_repertoire_and_character_mapping_to_implement
___the_variable_length_codes_which_correspond_to_a_character_name_token.


Ancestors
$ELT{_} $ELT $BINARY $IS_EQ



Public


Features
aget(index : CARD) : CHAR_CODE .. Included as aget
aset(index : CARD,val : CHAR_CODE) .. Included as aset
binstr : BINSTR .. Included as binstr
build(cursor : BIN_CURSOR) : SAME .. Included as build
build(cursor : BIN_CURSOR,lib : LIBCHARS) : SAME .. Included as build
contains(code : CHAR_CODE) : BOOL .. Included as contains
****
________This_predicate_returns_true_if_and_only_if_self_contains_the_given
___code,_otherwise_false.
copy : SAME .. Included as copy
****
________This_routine_returns_a_copy_of_self_as_a_new_object.
create(str : BINSTR) : SAME .. Included as create
create(code : CHAR_CODE) : SAME .. Included as create
create(lib : LIBCHARS) : SAME .. Included as create
create(str : STR) : SAME .. Included as create
is_eq(other : SAME) : BOOL .. Included as is_eq
****
________This_predicate_returns_true_if_and_only_if_self_and_other_have_the
___same_code-kind_and_all_of_the_elements_are_identical.
is_eq(other : $OB) : BOOL .. Included as is_eq
**** This is the generic equality predicate. c.f. the class $IS_EQ
lib : LIBCHARS .. Included as lib
****
________This_routine_returns_the_repertoire_in_which_this_is_encoded.
plus(elem : CHAR_CODE) : SAME .. Included as plus
plus(other : SAME) : SAME .. Included as plus
push(elem : CHAR_CODE) : SAME .. Included as push
raw_create(binstr : BINSTR,lib : LIBCHARS) : SAME
read(index : BIN_CURSOR) : SAME .. Included as read
reverse : SAME .. Included as reverse
****
________This_routine_returns_a_copy_of_self_in_which_all_of_the_codes_are
___in_reverse_order.
size : CARD .. Included as size
****
________This_routine_returns_the_length_of_the_code_list.
tgt_runes : RUNES .. Included as tgt_runes
tgt_str : STR .. Included as tgt_str
write(fyle : BIN_FILE) .. Included as write

Iters
elt!(once start : CARD) : CHAR_CODE .. Included as elt!
elt! : CHAR_CODE .. Included as elt!


Private

attr list : FLIST{CHAR_CODE} ;
attr list : FLIST{CHAR_CODE} ;
attr priv_lib : CARD ;
attr priv_lib : CARD ;

The Sather Home Page