deferred class FILE_STREAM
Summary
Class invariant
Overview
Exported features
  • recycle
    Do whatever needs to be done to free resources or recycle other objects when recycling this one
path: STRING
writable attribute
Not Void when connected to the corresponding file on the disk.
is_connected: BOOLEAN
effective function
Is this file connected to some file of the operating system?
connect_to (new_path: ABSTRACT_STRING)
deferred procedure
Try to connect to an existing file of the operating system.
disconnect
deferred procedure
Try to disconnect the stream.
descriptor: INTEGER_32
effective function
Some OS-dependent descriptor.
has_descriptor: BOOLEAN
effective function
True if that stream can be associated to some OS-meaningful descriptor.
can_disconnect: BOOLEAN
deferred function
True if the stream can be safely disconnected (without data loss, etc.)
url: URL
frozen
effective function
The URL to this stream as resource
event_exception: EVENT_DESCRIPTOR
effective function
recycle
effective procedure
Do whatever needs to be done to free resources or recycle other objects when recycling this one