Public Member Functions | Private Attributes | List of all members
absl::base_internal::ScopedSetEnv Class Reference

#include <scoped_set_env.h>

Public Member Functions

 ScopedSetEnv (const char *var_name, const char *new_value)
 
 ~ScopedSetEnv ()
 

Private Attributes

std::string old_value_
 
std::string var_name_
 
bool was_unset_
 

Detailed Description

Definition at line 25 of file scoped_set_env.h.

Constructor & Destructor Documentation

◆ ScopedSetEnv()

absl::base_internal::ScopedSetEnv::ScopedSetEnv ( const char *  var_name,
const char *  new_value 
)

Definition at line 48 of file scoped_set_env.cc.

◆ ~ScopedSetEnv()

absl::base_internal::ScopedSetEnv::~ScopedSetEnv ( )

Definition at line 74 of file scoped_set_env.cc.

Member Data Documentation

◆ old_value_

std::string absl::base_internal::ScopedSetEnv::old_value_
private

Definition at line 32 of file scoped_set_env.h.

◆ var_name_

std::string absl::base_internal::ScopedSetEnv::var_name_
private

Definition at line 31 of file scoped_set_env.h.

◆ was_unset_

bool absl::base_internal::ScopedSetEnv::was_unset_
private

Definition at line 35 of file scoped_set_env.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22