ProcessEnvironmentΒΆ
Inherited: None
DescriptionΒΆ
Public MethodsΒΆ
Static MethodsΒΆ
Methods DescriptionΒΆ
const std::map<TString, TString> & ProcessEnvironment::envVars () const
Access the underlying map of environment variables.
Insert or update an environment variable.
On Windows the key is normalized to upper-case prior to insertion.
ProcessEnvironment ProcessEnvironment::systemEnvironment ()
Create a ProcessEnvironment populated from the current system environment.
On Windows reads the wide-character environment block returned by GetEnvironmentStringsW(). On POSIX platforms it reads entries from the global environ pointer.
Return the value for key or an empty string if not found.
ProcessEnvironment & ProcessEnvironment::operator= (ProcessEnvironment & copy)
Copy-assign environment variables from another instance.
Performs a deep copy of the internal environment variable map.