class ORDERING
****

________This_class_implements_an_order_weighting_look-up_'table'_for_a_single
___script_(as_specified_in_ISO/IEC_14652)_needed_when_attempting_to_order
___a_text_string_according_to_the_rules_given_in_ISO/IEC_14651.


Flattened version is here



Public


Readable Attributes
attr rule : ARRAY{ORDER_RULE} ;

Features
contains(tok_list : FLIST{TOKEN}) : BOOL
create(rules : ARRAY{ORDER_RULE}) : SAME
create : SAME
insert(order : RANGE_ORDERING) : BOOL
insert(tok : TOKEN,wts : ARRAY{ORDER_WEIGHT}) : BOOL
size : CARD
weights(tok_list : FLIST{TOKEN}) : ARRAY{ORDER_WEIGHT}


Private

from_range(tok : TOKEN) : ARRAY{ORDER_WEIGHT}
attr range_list : FLIST{RANGE_ORDERING} ;
attr range_list : FLIST{RANGE_ORDERING} ;
attr rule : ARRAY{ORDER_RULE} ;
attr table : FMAP{TOKEN,ARRAY{ORDER_WEIGHT}} ;
attr table : FMAP{TOKEN,ARRAY{ORDER_WEIGHT}} ;

The Sather Home Page