+
Point of view
All features
class TEXT_FILE_READ
- is_connected implies path /= Void
Features
{}
{}
{}
{}
{}
{}
{}
{}
require
- not is_connected
-
not_malformed_path: not new_path.is_empty
ensure
require
- is_connected
- can_disconnect
- is_connected
- can_disconnect
- is_connected
- can_disconnect
ensure
require
- is_connected
- valid_last_character
require
-
locked: tagged_out_locked
-
locked: tagged_out_locked
-
locked: tagged_out_locked
ensure
-
still_locked: tagged_out_locked
-
not_cleared: tagged_out_memory.count >= old tagged_out_memory.count
-
append_only: old tagged_out_memory.twin.is_equal(tagged_out_memory.substring(1, old tagged_out_memory.count))
require
- is_connected
- can_read_character
filtered_unread_character
effective procedure
require
- is_connected
- can_unread_character
require
- is_connected
- valid_last_character
filtered_read_line_in (str:
STRING)
effective procedure
require
- is_connected
- filtered_has_descriptor
- is_connected
- filtered_has_descriptor
- is_connected
- filtered_has_descriptor
is True
constant attribute
require
- 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
same_as (other: TEXT_FILE_READ):
BOOLEAN
effective function
ensure
-
definition: Result = path /= Void
ensure
- path.same_as(new_path.out)
frozen
effective function
ensure
-
not_void: Result /= Void
-
always_the_same: Result = url
is True
constant attribute
require
ensure
- Result implies not end_of_input
is True
constant attribute
require
- is_connected
- not is_filtered and then can_read_character
ensure
require
- is_connected
- not is_filtered and then can_read_line
- buffer /= Void
require
- is_connected
- not is_filtered
- buffer /= Void
- limit > 0
require
- is_connected
- not is_filtered and then can_unread_character
ensure
require
- is_connected
- not end_of_input
- not is_filtered and then valid_last_character
ensure
skip_separators_using (separators:
STRING)
effective procedure
reach_and_skip (keyword:
STRING)
effective procedure
read_word_using (separators:
STRING)
effective procedure