SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
common
Environment.h
1
//=============================================================================
2
//
3
// Copyright (c) Kitware, Inc.
4
// All rights reserved.
5
// See LICENSE.txt for details.
6
//
7
// This software is distributed WITHOUT ANY WARRANTY; without even
8
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9
// PURPOSE. See the above copyright notice for more information.
10
//
11
//=============================================================================
12
#ifndef smtk_common_Environment_h
13
#define smtk_common_Environment_h
14
15
#include "smtk/CoreExports.h"
16
17
#include <string>
18
19
namespace
smtk
20
{
21
namespace
common
22
{
23
27
class
SMTKCORE_EXPORT
Environment
28
{
29
public
:
30
static
bool
hasVariable(
const
std::string& varName);
31
static
std::string getVariable(
const
std::string& varName);
32
static
void
setVariable(
const
std::string& varName,
const
std::string& value);
33
};
34
35
}
// namespace common
36
}
// namespace smtk
37
38
#endif // smtk_common_Environment_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::common::Environment
Cross-platform access to process environment variables.
Definition:
Environment.h:27
Generated by
1.8.17