userver: engine::subprocess::EnvironmentVariablesUpdate Class Reference
Loading...
Searching...
No Matches
engine::subprocess::EnvironmentVariablesUpdate Class Reference

#include <userver/engine/subprocess/environment_variables.hpp>

Detailed Description

Iterable environment variables wrapper to update values.

Definition at line 16 of file environment_variables.hpp.

Public Types

using Map = std::unordered_map<std::string, std::string>
 

Public Member Functions

 EnvironmentVariablesUpdate (Map vars)
 Constructs a wrapper from a map.
 
auto begin ()
 Returns a non const iterator to the beginning.
 
auto end ()
 Returns a non const iterator to the ending.
 
auto begin () const
 Returns a const iterator to the beginning.
 
auto end () const
 Returns a const iterator to the ending.
 

Member Typedef Documentation

◆ Map

using engine::subprocess::EnvironmentVariablesUpdate::Map = std::unordered_map<std::string, std::string>

Definition at line 18 of file environment_variables.hpp.

Constructor & Destructor Documentation

◆ EnvironmentVariablesUpdate()

engine::subprocess::EnvironmentVariablesUpdate::EnvironmentVariablesUpdate ( Map vars)
inlineexplicit

Constructs a wrapper from a map.

Definition at line 21 of file environment_variables.hpp.

Member Function Documentation

◆ begin() [1/2]

auto engine::subprocess::EnvironmentVariablesUpdate::begin ( )
inline

Returns a non const iterator to the beginning.

Definition at line 24 of file environment_variables.hpp.

◆ begin() [2/2]

auto engine::subprocess::EnvironmentVariablesUpdate::begin ( ) const
inline

Returns a const iterator to the beginning.

Definition at line 30 of file environment_variables.hpp.

◆ end() [1/2]

auto engine::subprocess::EnvironmentVariablesUpdate::end ( )
inline

Returns a non const iterator to the ending.

Definition at line 27 of file environment_variables.hpp.

◆ end() [2/2]

auto engine::subprocess::EnvironmentVariablesUpdate::end ( ) const
inline

Returns a const iterator to the ending.

Definition at line 33 of file environment_variables.hpp.


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