class STD_OUTPUT
Summary
Overview
creation features
exported features
To write a number:
Other features:
is_connected: BOOLEAN
attribute
True if the stream is connected.
disconnect
Try to disconnect the stream.
put_line (s: STRING)
Output the string followed by a '%N'.
redirect_to (file_name: STRING)
Redirect standard output to file_name instead of the default standard output.
redirect_append_to (file_name: STRING)
Redirect standard output to file_name instead of the default standard output.
restore_default_output
Restore standard output to go to the default standard output.
can_put_character (c: CHARACTER): BOOLEAN
can_disconnect: BOOLEAN
attribute
True if the stream can be safely disconnected (without data loss, etc.)
put_character (c: CHARACTER)
flush
Flushes the pipe.
detach
Shake off the filter.
event_can_write: EVENT_DESCRIPTOR
descriptor: INTEGER_32
Some OS-dependent descriptor.
has_descriptor: BOOLEAN
True if that stream can be associated to some OS-meaningful descriptor.
stream_pointer: POINTER
Some Back-end-dependent pointer (FILE* in C, InputStream or OutputStream in Java)
has_stream_pointer: BOOLEAN
True if that stream can be associated to some Back-end-meaningful stream pointer.
is_filtered: BOOLEAN
deferred
put_string (s: STRING)
Output s to current output device.
put_unicode_string (unicode_string: UNICODE_STRING)
Output the UTF-8 encoding of the unicode_string.
put_integer (i: INTEGER_64)
frozen
Output i to current output device.
put_integer_format (i: INTEGER_64, s: INTEGER_32)
frozen
Output i to current output device using at most s character.
put_real (r: REAL_64)
Output r to current output device.
put_real_format (r: REAL_64, f: INTEGER_32)
Output r with only f digit for the fractionnal part.
put_real_scientific (r: REAL_64, f: INTEGER_32)
Output r using the scientific notation with only f digit for the fractionnal part.
put_number (number: NUMBER)
Output the number.
put_boolean (b: BOOLEAN)
Output b to current output device according to the Eiffel format.
put_pointer (p: POINTER)
Output a viewable version of p.
put_new_line
Output a newline character.
put_spaces (nb: INTEGER_32)
Output nb spaces character.
append_file (file_name: STRING)
redirection_succeeded: BOOLEAN
attribute
Did the last call to redirect succeed?
restore_default
Cancel redirection