Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
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

Popen * popen_ = 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 721 of file subprocess.h.

Constructor & Destructor Documentation

◆ ArgumentDeducer()

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

Definition at line 723 of file subprocess.h.

Member Function Documentation

◆ set_option() [1/4]

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

Definition at line 1241 of file subprocess.h.

◆ set_option() [2/4]

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

Definition at line 1227 of file subprocess.h.

Here is the call graph for this function:

◆ set_option() [3/4]

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

Definition at line 1231 of file subprocess.h.

Here is the call graph for this function:

◆ set_option() [4/4]

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

Definition at line 1236 of file subprocess.h.

Member Data Documentation

◆ popen_

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

Definition at line 731 of file subprocess.h.


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