class RESOURCES
****

________This_class_provides_the_mechanism_whereby_a_program_may_at_run-time
___read_text_strings_as_resources_needed_for_use_in_the_current_cultural
___context.


Flattened version is here



Public


Features
Leaf_Name_ref : STR
****
________This_routine_creates_and_returns_the_repertoire_map_file_name_"lib_res",
___which_needs_to_be_inthe_default_local_culture_and_encoding,_not_the_culture
___for_which_this_is_a_resource.
__resources/en_NZ/lib_res
create( cult : CULTURE ) : SAME
default : SAME
read( class_name : RUNES, cnt : CARD ) : ARRAY{STR}


Private

Lib_Res_ref : STR
****
________This_routine_creates_and_returns_the_repertoire_map_file_name_"SATHER_RESOURCES",_using
___the_local_culture_repertoire_and_encoding,_not_that_of_the_culture_for
___which_this_is_a_resource_object.
attr class_map : FMAP{STR,FILE_PATH} ;
attr class_map : FMAP{STR,FILE_PATH} ;
do_specials( loc_cursor : STR_CURSOR, out msg : STR) : BOOL
initialise : SAME
attr lib : LIBCHARS ;
attr lib : LIBCHARS ;
shared priv_default : SAME ;
shared priv_default : SAME ;
priv_read( class_name : RUNES, cnt : CARD ) : ARRAY{STR}
search_file( file_path : FILE_PATH )

The Sather Home Page