PStreams
Public Types | Static Public Attributes | Protected Types | List of all members
redi::pstreams Struct Reference

Common base class providing constants and typenames. More...

#include <pstream.h>

Inheritance diagram for redi::pstreams:
redi::basic_ipstream< CharT, Traits > redi::basic_opstream< CharT, Traits > redi::basic_pstream< CharT, Traits > redi::basic_pstreambuf< CharT, Traits > redi::basic_rpstream< CharT, Traits > redi::pstream_common< CharT, Traits > redi::basic_ipstream< CharT, Traits > redi::basic_opstream< CharT, Traits > redi::basic_pstream< CharT, Traits > redi::basic_rpstream< CharT, Traits >

Public Types

typedef std::ios_base::openmode pmode
 Type used to specify how to connect to the process.
 
typedef std::vector< std::string > argv_type
 Type used to hold the arguments for a command.
 
typedef int fd_type
 Type used for file descriptors.
 

Static Public Attributes

static const pmode pstdin = std::ios_base::out
 Write to stdin.
 
static const pmode pstdout = std::ios_base::in
 Read from stdout.
 
static const pmode pstderr = std::ios_base::app
 Read from stderr.
 
static const pmode newpg = std::ios_base::trunc
 Create a new process group for the child process.
 

Protected Types

enum  { bufsz = 32 }
 
enum  { pbsz = 2 }
 

Detailed Description

Common base class providing constants and typenames.


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