+
Point of view
All features
class BINARY_FILE_WRITE
- is_connected implies path /= Void
Features
{}
{}
- put_16_ne (a_buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_16, ch_pos: INTEGER_32)
- put_16_le (a_buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_16, ch_pos: INTEGER_32)
- put_16_be (a_buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_16, ch_pos: INTEGER_32)
- put_32_ne (a_buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_32, ch_pos: INTEGER_32)
- put_32_le (a_buf: NATIVE_ARRAY[CHARACTER], i: INTEGER_32, ch_pos: INTEGER_32)
- put_32_be (a_buf: NATIVE_ARRAY[CHARACTER], an_i: INTEGER_32, ch_pos: INTEGER_32)
- binary_file_write_open (a_path_pointer: POINTER): POINTER
- binary_file_write_append (a_path_pointer: POINTER): POINTER
- fclose (a_stream_pointer: POINTER)
{}
{}
{}
{}
{}
{}
{}
require
- not is_connected
-
not_malformed_path: not new_path.is_empty
ensure
- is_connected implies path.same_as(new_path.out)
connect_for_appending_to (new_path:
STRING)
effective procedure
require
- is_connected
- can_disconnect
- is_connected
- can_disconnect
- is_connected
- can_disconnect
- is_connected
- can_disconnect
- is_connected
- can_disconnect
ensure
ensure
-
valid: Result /= Void
-
associated: Result.associated_stream = Current
require
- is_connected
- can_put_character(c)
- is_connected
- can_put_character(c)
require
- is_connected
- filtered_has_descriptor
- is_connected
- filtered_has_descriptor
- is_connected
- filtered_has_descriptor
- is_connected
- filtered_has_descriptor
- is_connected
- filtered_has_descriptor
is False
constant attribute
require
- is_connected
- filtered_has_stream_pointer
- is_connected
- filtered_has_stream_pointer
- is_connected
- filtered_has_stream_pointer
- is_connected
- filtered_has_stream_pointer
- is_connected
- filtered_has_stream_pointer
filtered_has_stream_pointer:
BOOLEAN
is True
constant attribute
require
- is_connected
- not is_filtered and then can_put_character(c)
ensure
-
yes_indeed_it_is_the_same_object: Result.to_pointer = to_pointer
frozen
effective function
ensure
-
not_void: Result /= Void
-
always_the_same: Result = url
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
frozen
effective procedure
append_file (file_name:
STRING)
effective procedure
ensure
- path.same_as(new_path.out)