Files
CoolProp/src/Backends/Helmholtz/Configuration.cpp
2014-09-08 17:34:05 +02:00

43 lines
751 B
C++

#include "Configuration.h"
namespace CoolProp
{
//
//Configuration::Configuration()
//{
//}
//
//Configuration::~Configuration()
//{
//}
bool get_config_bool(configuration_keys key)
{
switch(key)
{
case NORMALIZE_GAS_CONSTANTS:
return true;
default:
throw ValueError(format("%d is invalid key to get_config_bool",key));
}
}
double get_config_double(configuration_keys key)
{
switch(key)
{
default:
throw ValueError(format("%d is invalid key to get_config_double",key));
}
}
std::string get_config_string(configuration_keys key)
{
switch(key)
{
default:
throw ValueError(format("%d is invalid key to get_config_string",key));
}
}
}