libwreport  3.40
Public Member Functions | Data Fields
wreport::sys::OverrideEnvironment Struct Reference

Override an environment variable for the duration of this object. More...

#include <sys.h>

Public Member Functions

 OverrideEnvironment (const std::string &name)
 
 OverrideEnvironment (const std::string &name, const std::string &value)
 

Data Fields

std::string name
 
bool was_set = false
 
std::string orig_value
 

Detailed Description

Override an environment variable for the duration of this object.


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