#include <pstream.h>
Inheritance diagram for redi::basic_opstream< CharT, Traits >:

Public Types | |
| typedef pbase_type::pmode | pmode |
| Type used to specify how to connect to the process. | |
Public Member Functions | |
| basic_opstream () | |
| Default constructor, creates an uninitialised stream. | |
| basic_opstream (const std::string &command, pmode mode=std::ios_base::out) | |
| Constructor that initialises the stream by starting a process. | |
| basic_opstream (const std::string &file, const std::vector< std::string > &argv, pmode mode=std::ios_base::out) | |
| Constructor that initialises the stream by starting a process. | |
| ~basic_opstream () | |
| Destructor. | |
| void | open (const std::string &command, pmode mode=std::ios_base::out) |
| Start a process. | |
| void | open (const std::string &file, const std::vector< std::string > &argv, pmode mode=std::ios_base::out) |
| Start a process. | |
Writing to an open opstream writes to the standard input of the command; the command's standard output is the same as that of the process that created the pstream object, unless altered by the command itself.
|
||||||||||||||||
|
Constructor that initialises the stream by starting a process. Initialises the stream buffer by calling open() with the supplied arguments.
|
|
||||||||||||||||||||
|
Constructor that initialises the stream by starting a process. Initialises the stream buffer by calling open() with the supplied arguments.
|
|
|||||||||
|
Destructor. Closes the stream and waits for the child to exit. |
|
||||||||||||||||||||
|
Start a process.
Reimplemented from redi::pstream_common< CharT, Traits >. |
|
||||||||||||||||
|
Start a process.
Reimplemented from redi::pstream_common< CharT, Traits >. |
1.3.2