cxxtools::posix::Pipestreambuf Class Reference

Simple unix pipe iostream. More...

#include <cxxtools/posix/pipestream.h>

Public Member Functions

 Pipestreambuf (unsigned bufsize=8192)
 ~Pipestreambuf ()
void closeReadFd ()
void closeWriteFd ()
int getReadFd () const
int getWriteFd () const
void redirectStdout (bool close=true)
void redirectStdin (bool close=true)
void redirectStderr (bool close=true)
IODeviceout ()
IODevicein ()

Detailed Description

Simple unix pipe iostream.

This iostream works only on POSIX systems. A portable alternative is to use an IOStream attached to the input or output end of a Pipe.

Constructor & Destructor Documentation

cxxtools::posix::Pipestreambuf::Pipestreambuf ( unsigned  bufsize = 8192)
explicit
cxxtools::posix::Pipestreambuf::~Pipestreambuf ( )

Member Function Documentation

void cxxtools::posix::Pipestreambuf::closeReadFd ( )
inline
void cxxtools::posix::Pipestreambuf::closeWriteFd ( )
inline
int cxxtools::posix::Pipestreambuf::getReadFd ( ) const
inline
int cxxtools::posix::Pipestreambuf::getWriteFd ( ) const
inline
IODevice& cxxtools::posix::Pipestreambuf::in ( )
inline
IODevice& cxxtools::posix::Pipestreambuf::out ( )
inline
void cxxtools::posix::Pipestreambuf::redirectStderr ( bool  close = true)
inline
void cxxtools::posix::Pipestreambuf::redirectStdin ( bool  close = true)
inline
void cxxtools::posix::Pipestreambuf::redirectStdout ( bool  close = true)
inline

The documentation for this class was generated from the following file: