home
wiki
classes/clusters list
class information
+
Point of view
All features
ANY
INTERNALS_HANDLER
All features
class STANDARD_STREAMS
Summary
top
Thanks to this
standard_streams
singleton object, you can redirect
std_input_stream
,
std_output_stream
as well as
std_error_stream
.
See also the examples from our tutorial/io directory.
Direct parents
insert list:
SINGLETON
Class invariant
top
current_is_not_an_expanded_type
is_real_singleton
Overview
top
creation features
make
features
std_input
:
INPUT_STREAM
std_output
:
OUTPUT_STREAM
std_error
:
OUTPUT_STREAM
set_std_input
(a_std_input:
INPUT_STREAM
)
restore_std_input
set_std_output
(a_std_output:
OUTPUT_STREAM
)
restore_std_output
set_std_error
(a_std_error:
OUTPUT_STREAM
)
restore_std_error
make
is_real_singleton
:
BOOLEAN
singleton_memory_pool
:
HASHED_DICTIONARY
[
POINTER
,
STRING
]
This pool is unique in the whole system.
current_is_not_an_expanded_type
:
BOOLEAN
Check that the dynamic type of the
SINGLETON
is not an expanded type.
std_input
:
INPUT_STREAM
writable attribute
top
std_output
:
OUTPUT_STREAM
writable attribute
top
std_error
:
OUTPUT_STREAM
writable attribute
top
set_std_input
(a_std_input:
INPUT_STREAM
)
effective procedure
top
require
a_std_input.is_connected
restore_std_input
effective procedure
top
set_std_output
(a_std_output:
OUTPUT_STREAM
)
effective procedure
top
require
a_std_output.is_connected
restore_std_output
effective procedure
top
set_std_error
(a_std_error:
OUTPUT_STREAM
)
effective procedure
top
require
a_std_error.is_connected
restore_std_error
effective procedure
top
make
effective procedure
top
is_real_singleton
:
BOOLEAN
effective function
top
ensure
assertion_check_only:
Result
singleton_memory_pool
:
HASHED_DICTIONARY
[
POINTER
,
STRING
]
once function
top
This pool is unique in the whole system.
A memory is kept for each singleton type (type, not class) in the system.
current_is_not_an_expanded_type
:
BOOLEAN
effective function
top
Check that the dynamic type of the
SINGLETON
is not an expanded type.