| SAGA Adaptor CPI v.1.0 | 
#include <process.hpp>
| Public Member Functions | |
| process (void) | |
| process (std::string cmd) | |
| process (std::vector< std::string > const &args) | |
| process (std::map< std::string, std::string > const &env) | |
| process (std::string cmd, std::vector< std::string > const &args) | |
| process (std::string cmd, std::map< std::string, std::string > const &env) | |
| process (std::string cmd, std::vector< std::string > const &args, std::map< std::string, std::string > const &env) | |
| void | clear (void) | 
| void | set_cmd (std::string cmd) | 
| void | clear_args (void) | 
| void | set_args (std::vector< std::string > const &args) | 
| void | add_arg (std::string arg) | 
| void | add_args (std::string arg_1, std::string arg_2) | 
| void | clear_env (void) | 
| void | set_env (std::map< std::string, std::string > const &env) | 
| void | add_env (std::string key, std::string val) | 
| std::vector< std::string > | run_sync (bool io=true) | 
| void | clear_out (void) | 
| void | clear_err (void) | 
| boost::process::pistream & | get_out (void) | 
| boost::process::pistream & | get_err (void) | 
| std::string | get_out_s (void) | 
| std::string | get_err_s (void) | 
| std::vector< std::string > | get_out_v (void) | 
| std::vector< std::string > | get_err_v (void) | 
| int | exitcode (void) | 
| bool | done (void) | 
| bool | fail (void) | 
| std::string | msg (void) | 
Definition at line 33 of file process.hpp.
| saga::adaptors::utils::process::process | ( | void | ) | 
Definition at line 30 of file process.cpp.
| saga::adaptors::utils::process::process | ( | std::string | cmd | ) | 
Definition at line 38 of file process.cpp.
| saga::adaptors::utils::process::process | ( | std::vector< std::string > const & | args | ) | 
Definition at line 46 of file process.cpp.
| saga::adaptors::utils::process::process | ( | std::map< std::string, std::string > const & | env | ) | 
Definition at line 54 of file process.cpp.
| saga::adaptors::utils::process::process | ( | std::string | cmd, | 
| std::vector< std::string > const & | args | ||
| ) | 
Definition at line 62 of file process.cpp.
| saga::adaptors::utils::process::process | ( | std::string | cmd, | 
| std::map< std::string, std::string > const & | env | ||
| ) | 
Definition at line 72 of file process.cpp.
| saga::adaptors::utils::process::process | ( | std::string | cmd, | 
| std::vector< std::string > const & | args, | ||
| std::map< std::string, std::string > const & | env | ||
| ) | 
Definition at line 82 of file process.cpp.
| void saga::adaptors::utils::process::clear | ( | void | ) | 
Definition at line 94 of file process.cpp.
| void saga::adaptors::utils::process::set_cmd | ( | std::string | cmd | ) | 
Definition at line 110 of file process.cpp.
| void saga::adaptors::utils::process::clear_args | ( | void | ) | 
Definition at line 115 of file process.cpp.
| void saga::adaptors::utils::process::set_args | ( | std::vector< std::string > const & | args | ) | 
Definition at line 120 of file process.cpp.
| void saga::adaptors::utils::process::add_arg | ( | std::string | arg | ) | 
Definition at line 132 of file process.cpp.
| void saga::adaptors::utils::process::add_args | ( | std::string | arg_1, | 
| std::string | arg_2 | ||
| ) | 
Definition at line 125 of file process.cpp.
| void saga::adaptors::utils::process::clear_env | ( | void | ) | 
Definition at line 137 of file process.cpp.
| void saga::adaptors::utils::process::set_env | ( | std::map< std::string, std::string > const & | env | ) | 
Definition at line 142 of file process.cpp.
| void saga::adaptors::utils::process::add_env | ( | std::string | key, | 
| std::string | val | ||
| ) | 
Definition at line 147 of file process.cpp.
| std::vector< std::string > saga::adaptors::utils::process::run_sync | ( | bool | io = true | ) | 
Definition at line 157 of file process.cpp.
References clear_err(), clear_out(), msg(), saga::NoSuccess, SAGA_LOG_ALWAYS, and SAGA_LOG_DEBUG.
| void saga::adaptors::utils::process::clear_out | ( | void | ) | 
Definition at line 320 of file process.cpp.
Referenced by run_sync().
| void saga::adaptors::utils::process::clear_err | ( | void | ) | 
Definition at line 325 of file process.cpp.
Referenced by run_sync().
| boost::process::pistream & saga::adaptors::utils::process::get_out | ( | void | ) | 
Definition at line 274 of file process.cpp.
| boost::process::pistream & saga::adaptors::utils::process::get_err | ( | void | ) | 
Definition at line 279 of file process.cpp.
| std::string saga::adaptors::utils::process::get_out_s | ( | void | ) | 
Definition at line 285 of file process.cpp.
| std::string saga::adaptors::utils::process::get_err_s | ( | void | ) | 
Definition at line 297 of file process.cpp.
| std::vector< std::string > saga::adaptors::utils::process::get_out_v | ( | void | ) | 
Definition at line 310 of file process.cpp.
| std::vector< std::string > saga::adaptors::utils::process::get_err_v | ( | void | ) | 
Definition at line 315 of file process.cpp.
| int saga::adaptors::utils::process::exitcode | ( | void | ) |  [inline] | 
Definition at line 94 of file process.hpp.
| bool saga::adaptors::utils::process::done | ( | void | ) |  [inline] | 
Definition at line 95 of file process.hpp.
| bool saga::adaptors::utils::process::fail | ( | void | ) |  [inline] | 
Definition at line 96 of file process.hpp.
| std::string saga::adaptors::utils::process::msg | ( | void | ) |  [inline] | 
Definition at line 97 of file process.hpp.
Referenced by run_sync().