TwiceAsNice  2019-02-18
Public Types | Static Public Attributes | Protected Types | List of all members
Nice::pstreams Struct Reference

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

#include <PStream.h>

Inheritance diagram for Nice::pstreams:
Inheritance graph
Collaboration diagram for Nice::pstreams:
Collaboration graph

Public Types

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

Static Public Attributes

static const pmode pstdin = std::ios_base::out
 Write to stdin. More...
 
static const pmode pstdout = std::ios_base::in
 Read from stdout. More...
 
static const pmode pstderr = std::ios_base::app
 Read from stderr. More...
 

Protected Types

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

Detailed Description

Common base class providing constants and typenames.

Member Typedef Documentation

◆ argv_type [1/2]

typedef std::vector<std::string> Nice::pstreams::argv_type

Type used to hold the arguments for a command.

◆ argv_type [2/2]

typedef std::vector<std::string> Nice::pstreams::argv_type

Type used to hold the arguments for a command.

◆ fd_type [1/2]

Type used for file descriptors.

◆ fd_type [2/2]

Type used for file descriptors.

◆ pmode [1/2]

typedef std::ios_base::openmode Nice::pstreams::pmode

Type used to specify how to connect to the process.

◆ pmode [2/2]

typedef std::ios_base::openmode Nice::pstreams::pmode

Type used to specify how to connect to the process.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
bufsz 

◆ anonymous enum

anonymous enum
protected
Enumerator
pbsz 

◆ anonymous enum

anonymous enum
protected
Enumerator
bufsz 

◆ anonymous enum

anonymous enum
protected
Enumerator
pbsz 

Member Data Documentation

◆ pstderr

static const pmode Nice::pstreams::pstderr = std::ios_base::app
static

Read from stderr.

◆ pstdin

static const pmode Nice::pstreams::pstdin = std::ios_base::out
static

Write to stdin.

◆ pstdout

static const pmode Nice::pstreams::pstdout = std::ios_base::in
static

Read from stdout.


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