A text streaming interface. More...
#include <text_stream.hpp>
Public Member Functions | |
virtual | ~TextStream () |
A text streaming interface.
This connects to an underlying device and enables text streaming to and from the device. The device type (determined by input and output device concept checks) determines the type of interface that is brought into the textstream instance, either input, output or both.
Usage:
Instantiating
To open the underlying device,
Streaming
Usage follows very similar to the standard c++ streams.
Formatting
These streams are usable with the format classes in ecl_formatters.
Error Checking
Output streams can generate errors that are not so easily checked compared with handling devices directly. To check for failure, ecl streams use a mechanism similar to that of the standard cout stream.
You can also use the errorStatus() method to retrieve the exact error flag (enumeration).
Definition at line 94 of file text_stream.hpp.
|
inlinevirtual |
Definition at line 97 of file text_stream.hpp.