Searched defs:EnvVarWrapper (Results 1 – 1 of 1) sorted by relevance
119 struct EnvVarWrapper { struct121 EnvVarWrapper(std::string const& name) noexcept : name(name) { in EnvVarWrapper() function126 …EnvVarWrapper(std::string const& name, std::string const& value) noexcept : name(name), cur_value(… in EnvVarWrapper() function130 ~EnvVarWrapper() noexcept { in ~EnvVarWrapper() argument139 EnvVarWrapper& operator=(const EnvVarWrapper&) = delete; argument141 void set_new_value(std::string const& value) { in set_new_value()145 void add_to_list(std::string const& list_item) { in add_to_list()152 void remove_value() const { remove_env_var(); } in remove_value()153 const char* get() const { return name.c_str(); } in get()154 const char* value() const { return cur_value.c_str(); } in value()[all …]