CoolProp
Public Member Functions | List of all members
CoolProp::ConfigurationItem Class Reference

Detailed Description

A class that contains one entry in configuration Can be cast to yield the output value.

#include <Configuration.h>

Public Member Functions

 operator bool () const
 Cast to boolean.
 
 operator double () const
 Cast to double.
 
 operator std::string () const
 Cast to string.
 
 ConfigurationItem (configuration_keys key, bool val)
 
 ConfigurationItem (configuration_keys key, int val)
 
 ConfigurationItem (configuration_keys key, double val)
 
 ConfigurationItem (configuration_keys key, const char *val)
 
 ConfigurationItem (configuration_keys key, const std::string &val)
 
void set_bool (bool val)
 
void set_integer (int val)
 
void set_double (double val)
 
void set_string (const std::string &val)
 
configuration_keys get_key (void) const
 
void add_to_json (rapidjson::Value &val, rapidjson::Document &d) const
 Cast to rapidjson::Value.
 
void set_from_json (rapidjson::Value &val)
 

The documentation for this class was generated from the following file: