abstract class $BINARY |
---|
**** |
________This_abstract_class_specifies_three_routines_which_sub-classes_must ___provide_in_order_to_convert_the_value_into_a_form_suitable_for ___manipulation_as_a_sequence_of_storage_units_and_vice-versa.__Both ___transformations_must_satisfy_the_identity_-- ________create(Value.binstr)_=_Value |
binstr : BINSTR ; |
---|
**** |
________This_returns_a_sequence_of_storage_units_which_is_suitable_for ___conversion_back_into_a_value_of_the_class_concerned.. |
build(cursor : BIN_CURSOR) : SAME ; |
---|
**** |
________Provided_that_there_are_at_least_the_number_of_storaqge_units ___required_to_produce_a_value_of_this_class_then_the_number_of_storage_units ___required_are_used_to_do_so_and_the_cursor_is_moved_to_the_next_position_on ___the_binary_string. |
create(storage : BINSTR) : SAME ; |
---|
**** |
________Provided_that_the_size_of_the_storage_argument_is_exactly_the_amount ___of_storage_required_for_an_object_of_this_class_as_produced_by_the_binstr ___routine,_then_storage_is_converted_into_an_object_of_this_class_which_is ___returned. |
read(cursor : BIN_CURSOR) : SAME ; |
---|
**** |
________This_routine_returns_the_next_object_in_the_file_providing_that_the ___next_item_in_the_file_is_the_boolean_value_for_true,_otherwise_it_returns ___void_having_moved_past_the_item_in_the_string. |
write(fyle : BIN_FILE) ; |
---|
**** |
________This_routine_appends_self_to_the_given_binary_file. |