subprocess  0.4.0
Modern subprocess library for c++
Public Member Functions | Public Attributes | List of all members
subprocess::PipePair Struct Reference

#include <pipe.hpp>

Public Member Functions

 PipePair ()
 
 PipePair (PipeHandle input, PipeHandle output)
 
 ~PipePair ()
 
 PipePair (const PipePair &)=delete
 
PipePairoperator= (const PipePair &)=delete
 
 PipePair (PipePair &&other)
 
PipePairoperator= (PipePair &&other)
 
void disown ()
 
void close ()
 
void close_input ()
 
void close_output ()
 
 operator bool () const noexcept
 

Public Attributes

const PipeHandle input = kBadPipeValue
 
const PipeHandle output = kBadPipeValue
 

Constructor & Destructor Documentation

◆ PipePair() [1/4]

subprocess::PipePair::PipePair ( )
inline

◆ PipePair() [2/4]

subprocess::PipePair::PipePair ( PipeHandle  input,
PipeHandle  output 
)
inline

◆ ~PipePair()

subprocess::PipePair::~PipePair ( )
inline

◆ PipePair() [3/4]

subprocess::PipePair::PipePair ( const PipePair )
delete

◆ PipePair() [4/4]

subprocess::PipePair::PipePair ( PipePair &&  other)
inline

Member Function Documentation

◆ close()

void subprocess::PipePair::close ( )

◆ close_input()

void subprocess::PipePair::close_input ( )

◆ close_output()

void subprocess::PipePair::close_output ( )

◆ disown()

void subprocess::PipePair::disown ( )
inline

Stop owning the pipes

◆ operator bool()

subprocess::PipePair::operator bool ( ) const
inlineexplicitnoexcept

◆ operator=() [1/2]

PipePair& subprocess::PipePair::operator= ( const PipePair )
delete

◆ operator=() [2/2]

PipePair& subprocess::PipePair::operator= ( PipePair &&  other)

Member Data Documentation

◆ input

const PipeHandle subprocess::PipePair::input = kBadPipeValue

◆ output

const PipeHandle subprocess::PipePair::output = kBadPipeValue

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