MaterialX 1.38.10
Loading...
Searching...
No Matches
Environ.h
Go to the documentation of this file.
1//
2// Copyright Contributors to the MaterialX Project
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#ifndef MATERIALX_ENVIRON_H
7#define MATERIALX_ENVIRON_H
8
11
13
15
16MATERIALX_NAMESPACE_BEGIN
17
19MX_FORMAT_API string getEnviron(const string& name);
20
22MX_FORMAT_API bool setEnviron(const string& name, const string& value);
23
25MX_FORMAT_API bool removeEnviron(const string& name);
26
27MATERIALX_NAMESPACE_END
28
29#endif // MATERIALX_ENVIRON_H
MX_FORMAT_API bool removeEnviron(const string &name)
Remove an environment variable by name.
Definition: Environ.cpp:44
MATERIALX_NAMESPACE_BEGIN MX_FORMAT_API string getEnviron(const string &name)
Return the value of an environment variable by name.
Definition: Environ.cpp:17
MX_FORMAT_API bool setEnviron(const string &name, const string &value)
Set an environment variable to a specified value.
Definition: Environ.cpp:35
Library-wide includes and types.
Macros for declaring imported and exported symbols.