class CODE_MAPPER < $CODE_MAPPER


Ancestors
$CODE_MAPPER $BINARY



Public


Readable Attributes
attr key_compression : BOOL ;
attr kind : CODE_KINDS ;
attr method : MAP_MODES ;
attr section : MAP_PARTS ;
**** the initial values!
attr value_compression : BOOL ;

Features
binstr : BINSTR .. Included as binstr
build( .. Included as build
create( .. Included as create
create( .. Included as create
create( .. Included as create
create( .. Included as create
from_unicode( .. Included as from_unicode
from_unicode( .. Included as from_unicode
insert(
read( .. Included as read
set_header( .. Included as set_header
to_unicode( .. Included as to_unicode
write( .. Included as write


Private

const Codes_per_Entry : CARD := 1 ;
**** always seem to be one here!???
const Default_Key_Comp_Val : CARD := 11 ;
**** from file format def!
const Default_Key_Compression : BOOL := true ;
const Default_Method : MAP_MODES := MAP_MODES::Alternate_Key_Val ;
const Default_Section : MAP_PARTS := MAP_PARTS::Infinite ;
const Default_Value_Comp_Val : CARD := 14 ;
const Default_Value_Compression : BOOL := true ;
const Default_Value_No_Comp_Val : CARD := Default_Value_Comp_Val - 1 ;
const Max_Count : CARD := OCTET::Octet_Max ;
**** largest partial chunk!
const Unicodes_per_Entry : CARD := 1 ;
adjacent( .. Included as adjacent
build_section( .. Included as build_section
card_bin( .. Included as card_bin
chunk_size( .. Included as chunk_size
attr codes_per_key : CARD ;
attr codes_per_key : CARD ;
attr codes_per_value : CARD ;
attr codes_per_value : CARD ;
attr from_map : FMAP{CARD,CARD} ;
**** from Unicode code value
attr from_map : FMAP{CARD,CARD} ;
**** from Unicode code value
get_pairs_section( .. Included as get_pairs_section
get_partial_section( .. Included as get_partial_section
get_sizes( .. Included as get_sizes
get_twin_lists_section( .. Included as get_twin_lists_section
handle_param( .. Included as handle_param
attr header : MAP_HEADER ;
attr header : MAP_HEADER ;
is_end_marker( .. Included as is_end_marker
attr key_compression : BOOL ;
attr kind : CODE_KINDS ;
attr loc_lib : LIBCHARS ;
**** local code dummy
attr loc_lib : LIBCHARS ;
**** local code dummy
attr method : MAP_MODES ;
param_to_bin( .. Included as param_to_bin
partial_representation( .. Included as partial_representation
retrieve_section( .. Included as retrieve_section
attr section : MAP_PARTS ;
**** the initial values!
section_header( .. Included as section_header
section_to_bin( .. Included as section_to_bin
set_compressed( .. Included as set_compressed
set_uncompressed( .. Included as set_uncompressed
singleton( .. Included as singleton
attr sizes_done : BOOL ;
attr sizes_done : BOOL ;
attr to_map : FMAP{CARD,CARD} ;
**** to Unicode code value
attr to_map : FMAP{CARD,CARD} ;
**** to Unicode code value
try_compression( .. Included as try_compression
attr uni_lib : LIBCHARS ;
**** either a UCS2 or Unicode dummy
attr uni_lib : LIBCHARS ;
**** either a UCS2 or Unicode dummy
attr value_compression : BOOL ;

The Sather Home Page