BINARY_FILE_READ | This class allow to read a file on the disk as a binary file
(ie. file containing bytes). If you need to read a file which
contain text, then consider using TEXT_FILE_READ.
|
BINARY_FILE_WRITE | This class allow to write a file on the disk as a binary file
(ie. file containing bytes). If you need to write text in a file,
then consider using TEXT_FILE_WRITE.
|
FILE | Common parent class to all the file-related streams. Provides a common
connection interface to the "real" files of the operating system.
|
NULL_INPUT_STREAM | This "null" stream provides an unbroken sequence of '%U'
(like /dev/zero does on Unix)
|
NULL_OUTPUT_STREAM | This "null" output just swallows any character
(like /dev/null does on Unix)
|
STD_ERROR | To write on the standard error output. As for UNIX, the default
standard error file is the screen.
Note: only one instance of this class should be necessary (have a look
in the root classes to search for the good name to use).
See also STANDARD_STREAMS
|
STD_INPUT | To use the standard input file. As for UNIX, the default standard
input is the keyboard.
Notes : - the predefined `std_input' should be use to have only
one instance of the class STD_INPUT.
- to do reading or writing at the same time on the screen,
see STD_INPUT_OUTPUT,
- to handle cursor of the screen, see CURSES.
See also STANDARD_STREAMS
|
STD_INPUT_OUTPUT | Just a centralized access to `std_input' and `std_output', because it's
quite useful (good old `io').
Note that it cannot be filtered itself (see invariant). Instead,
use STANDARD_STREAMS features to modify std_input and std_output.
|
STD_OUTPUT | To use the standard output file. As for UNIX, the default standard
output is the screen.
Notes: - the predefined `std_output' should be use to have only one instance
of the class STD_OUTPUT,
- to do reading or writing at the same time on the screen,
see STD_INPUT_OUTPUT,
See also STANDARD_STREAMS
|
STRING_INPUT_STREAM | An input stream where the data is read from a string.
|
STRING_OUTPUT_STREAM | An output stream where data is written to a string buffer.
|
TEXT_FILE_READ | Basic input facilities to read a named file on the disc.
Note: most features are common with STD_INPUT so you can test your
program on the screen first and then, just changing of
instance (STD_INPUT/TEXT_FILE_READ), doing the same in a file.
Input stream usage is available in tutorial/io and SmartEiffel FAQ.
|
TEXT_FILE_READ_WRITE | This class allow to read and write a named file on the disk.
Note that opening a file in READ and WRITE mode is not very
common case and lead to performance decrease compared to
TEXT_FILE_READ and TEXT_FILE_WRITE performance. Such a file is
both an INPUT_STREAM and an OUTPUT_STREAM.
|
TEXT_FILE_WRITE | Basic output facilities to write a named file on the disk.
Note: most features are common with STD_OUTPUT so you can test your
program first on the screen and then, changing of instance
(STD_OUTPUT/TEXT_FILE_WRITE), doing the same on a file.
|