|
Evo C++ Library v0.5.1
|
#include <evo/io.h>
Single threaded console I/O.
Public Types | |
| typedef PipeOut::Format | Format |
| Stream output formatter with state. More... | |
| typedef StreamExtMT< PipeIn, MutexInert > | InT |
| Input type. More... | |
| typedef MutexInert::Lock | Lock |
| Mutex lock type. More... | |
| typedef StreamExtMT< PipeOut, MutexInert > | OutT |
| Output type. More... | |
Static Public Member Functions | |
| static ConsoleNotMT & | get () |
| Get console instance to use. More... | |
Public Attributes | |
| OutT | err |
| Write to console, error output. More... | |
| InT | in |
| Read console input. More... | |
| OutT | out |
| Write to console, normal output. More... | |
| typedef PipeOut::Format Format |
Stream output formatter with state.
Example using File:
Example using Console (stdout):
For more examples see: Stream Formatting
| typedef StreamExtMT<PipeIn,MutexInert> InT |
Input type.
| typedef MutexInert::Lock Lock |
Mutex lock type.
| typedef StreamExtMT<PipeOut,MutexInert> OutT |
Output type.
|
inlinestatic |
Get console instance to use.
| OutT err |
Write to console, error output.
| InT in |
Read console input.
| OutT out |
Write to console, normal output.
1.8.13