HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Environ.h File Reference
+ Include dependency graph for Environ.h:

Go to the source code of this file.

Functions

MATERIALX_NAMESPACE_BEGIN
MX_FORMAT_API string 
getEnviron (const string &name)
 Return the value of an environment variable by name. More...
 
MX_FORMAT_API bool setEnviron (const string &name, const string &value)
 Set an environment variable to a specified value. More...
 
MX_FORMAT_API bool removeEnviron (const string &name)
 Remove an environment variable by name. More...
 

Detailed Description

Cross-platform environment variable functionality

Definition in file Environ.h.

Function Documentation

MATERIALX_NAMESPACE_BEGIN MX_FORMAT_API string getEnviron ( const string name)

Return the value of an environment variable by name.

MX_FORMAT_API bool removeEnviron ( const string name)

Remove an environment variable by name.

MX_FORMAT_API bool setEnviron ( const string name,
const string value 
)

Set an environment variable to a specified value.