Definition
An instance I of the data type cmdistream is an C++istream connected to the output of a shell command cmd, i.e., all input operations or operators applied to I read from the standard output of command cmd.
#include < LEDA/stream.h >
Creation
cmd_istream | I(char* cmd) | creates an instance I of type cmd_istream connected to the output of command cmd. |
Operations
All operations and operators (> >) defined for C++istreams can be applied to command input streams as well.