#include "Teuchos_EnvVariables.hpp"
#include <stddef.h>
#include <string>
#include <cstdlib>
#include <map>
#include <sstream>
#include <stdexcept>
#include <vector>
#include "Teuchos_StrUtils.hpp"
#include "Teuchos_TestForException.hpp"
Go to the source code of this file.
|
enum | EnvironmentVariableState |
|
|
template<typename T > |
T | Teuchos::getEnvironmentVariable (const std::string_view environmentVariableName, const T defaultValue) |
|
template<> |
bool | Teuchos::getEnvironmentVariable< bool > (const std::string_view environmentVariableName, const bool defaultValue) |
|
template<> |
size_t | Teuchos::getEnvironmentVariable< size_t > (const std::string_view environmentVariableName, const size_t defaultValue) |
|
bool | Teuchos::idempotentlyGetNamedEnvironmentVariableAsBool (const char name[], bool &initialized, const char environmentVariableName[], const bool defaultValue) |
|
template<typename T > |
T | Teuchos::idempotentlyGetEnvironmentVariable (T &value, bool &initialized, const std::string_view environmentVariableName, const T defaultValue) |
| Read a variable from the environment. Example usage: More...
|
|
template std::string | Teuchos::idempotentlyGetEnvironmentVariable< std::string > (std::string &, bool &, const std::string_view, const std::string) |
|
template int | Teuchos::idempotentlyGetEnvironmentVariable< int > (int &, bool &, const std::string_view, const int) |
|
template unsigned long | Teuchos::idempotentlyGetEnvironmentVariable< unsigned long > (unsigned long &, bool &, const std::string_view, const unsigned long) |
|
template bool | Teuchos::idempotentlyGetEnvironmentVariable< bool > (bool &, bool &, const std::string_view, const bool) |
|
template unsigned long long | Teuchos::idempotentlyGetEnvironmentVariable< unsigned long long > (unsigned long long &, bool &, const std::string_view, const unsigned long long) |
|