Temporarily set/unset an environment variable.  
 More...
#include <zypp/base/Env.h>
|  | 
| void | setval (const char *val_r) | 
|  | 
|  | 
| std::string | _var | 
|  | 
| std::unique_ptr< std::string > | _val | 
|  | 
Temporarily set/unset an environment variable. 
Definition at line 28 of file Env.h.
◆ ScopedSet() [1/4]
  
  | 
        
          | zypp::env::ScopedSet::ScopedSet | ( | const ScopedSet & |  | ) |  |  | delete | 
 
 
◆ ScopedSet() [2/4]
  
  | 
        
          | zypp::env::ScopedSet::ScopedSet | ( | ScopedSet && |  | ) |  |  | default | 
 
 
◆ ScopedSet() [3/4]
  
  | 
        
          | zypp::env::ScopedSet::ScopedSet | ( |  | ) |  |  | inline | 
 
Default ctor (NOOP). 
Definition at line 38 of file Env.h.
 
 
◆ ScopedSet() [4/4]
  
  | 
        
          | zypp::env::ScopedSet::ScopedSet | ( | std::string | var_r, |  
          |  |  | const char * | val_r ) |  | inline | 
 
Set var_r to val_r (unsets var_r if val_r is a nullptr). 
Definition at line 42 of file Env.h.
 
 
◆ ~ScopedSet()
  
  | 
        
          | zypp::env::ScopedSet::~ScopedSet | ( |  | ) |  |  | inline | 
 
Restore the original setting. 
Definition at line 54 of file Env.h.
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setval()
  
  | 
        
          | void zypp::env::ScopedSet::setval | ( | const char * | val_r | ) |  |  | inlineprivate | 
 
Definition at line 61 of file Env.h.
 
 
◆ _var
  
  | 
        
          | std::string zypp::env::ScopedSet::_var |  | private | 
 
Definition at line 70 of file Env.h.
 
 
◆ _val
  
  | 
        
          | std::unique_ptr<std::string> zypp::env::ScopedSet::_val |  | private | 
 
Definition at line 71 of file Env.h.
 
 
The documentation for this class was generated from the following file: