24 #ifndef PXR_BASE_ARCH_ENV_H
25 #define PXR_BASE_ARCH_ENV_H
28 #include "pxr/base/arch/api.h"
32 PXR_NAMESPACE_OPEN_SCOPE
61 ArchSetEnv(
const std::string &name,
const std::string &value,
bool overwrite);
87 PXR_NAMESPACE_CLOSE_SCOPE
89 #endif // PXR_BASE_ARCH_ENV_H
ARCH_API std::string ArchExpandEnvironmentVariables(const std::string &str)
Expands environment variables in str.
ARCH_API bool ArchHasEnv(const std::string &name)
Architecture dependent access to environment variables.
ARCH_API char ** ArchEnviron()
Return an array of the environment variables.
ARCH_API bool ArchRemoveEnv(const std::string &name)
Removes an environment variable.
ARCH_API std::string ArchGetEnv(const std::string &name)
Gets a value from the current environment identified by name.
ARCH_API bool ArchSetEnv(const std::string &name, const std::string &value, bool overwrite)
Creates or modifies an environment variable.