libwreport  2.4
Public Member Functions
wreport::tests::LocalEnv Class Reference

RAII-style override of an environment variable. More...

#include <tests.h>

Public Member Functions

 LocalEnv (const std::string &key, const std::string &val)

Detailed Description

RAII-style override of an environment variable.


Constructor & Destructor Documentation

wreport::tests::LocalEnv::LocalEnv ( const std::string &  key,
const std::string &  val 
) [inline]
Parameters:
keythe environment variable to override
valthe new value to assign to key

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