![]() |
TSDuck v3.46-4816
MPEG Transport Stream Toolkit
|
Utilities for standard input, output, and error. More...
#include <tsStdio.h>
Classes | |
| class | BinaryMode |
| Put a standard stream stream in binary mode. More... | |
| class | Redirector |
| A class to redirect a standard stream. More... | |
Public Types | |
| enum | Id { STDIN , STDOUT , STDERR } |
| Identifiers for standard input streams. More... | |
Static Public Member Functions | |
| static void | Flush (Id id) |
| Flush all internal buffers of a standard stream. | |
| static SysHandleType | Handle (Id id) |
| Get the system handle of a standard stream. | |
| static bool | IsTerminal (Id id) |
| Check if a standard stream is a terminal. | |
| static const UString & | Name (Id id) |
| Get the name of a standard stream. | |
Utilities for standard input, output, and error.
This class has no instance, this is only a set of utilities.
| enum ts::Stdio::Id |
|
static |
Get the system handle of a standard stream.
| [in] | id | Standard stream to identify. |
Get the name of a standard stream.
| [in] | id | Standard stream to identify. |
|
inlinestatic |
Check if a standard stream is a terminal.
| [in] | id | Standard stream to check. |
|
static |
Flush all internal buffers of a standard stream.
| [in] | id | Standard stream to flush. |