Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
subprocess::detail::ArgumentDeducer Struct Reference

#include <subprocess.h>

Collaboration diagram for subprocess::detail::ArgumentDeducer:
[legend]

Public Member Functions

 ArgumentDeducer (Popen *p)
 
void set_option (executable &&exe)
 
void set_option (input &&inp)
 
void set_option (output &&out)
 
void set_option (error &&err)
 

Private Attributes

Popenpopen_ = nullptr
 

Detailed Description

A helper class to Popen class for setting options as provided in the Popen constructor. This design allows us to not have any fixed position to any arguments and specify them in a way similar to what can be done in python.

Definition at line 712 of file subprocess.h.

Constructor & Destructor Documentation

◆ ArgumentDeducer()

subprocess::detail::ArgumentDeducer::ArgumentDeducer ( Popen p)
inline

Definition at line 714 of file subprocess.h.

Member Function Documentation

◆ set_option() [1/4]

void subprocess::detail::ArgumentDeducer::set_option ( error &&  err)
inline

Definition at line 1224 of file subprocess.h.

◆ set_option() [2/4]

void subprocess::detail::ArgumentDeducer::set_option ( executable &&  exe)
inline

Definition at line 1210 of file subprocess.h.

Here is the caller graph for this function:

◆ set_option() [3/4]

void subprocess::detail::ArgumentDeducer::set_option ( input &&  inp)
inline

Definition at line 1214 of file subprocess.h.

◆ set_option() [4/4]

void subprocess::detail::ArgumentDeducer::set_option ( output &&  out)
inline

Definition at line 1219 of file subprocess.h.

Member Data Documentation

◆ popen_

Popen* subprocess::detail::ArgumentDeducer::popen_ = nullptr
private

Definition at line 722 of file subprocess.h.


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