|
CoolProp 8.0.0
An open-source fluid property and humid air property database
|
Enumerations | |
| enum | schema_validation_code { SCHEMA_VALIDATION_OK = 0 , SCHEMA_INVALID_JSON , INPUT_INVALID_JSON , SCHEMA_NOT_VALIDATED } |
| Result of validate_schema() below. More... | |
Functions | |
| CoolProp::SurfaceTensionCorrelation | make_surface_tension_correlation (const nlohmann::json &j) |
| CoolProp::SaturationAncillaryFunction | make_saturation_ancillary (const nlohmann::json &j) |
| CoolProp::PCSAFTFluid | make_pcsaft_fluid (const nlohmann::json &fluid) |
| nlohmann::json | parse (std::string_view text) |
| nlohmann::json | from_cbor (const std::uint8_t *data, std::size_t size) |
| std::string | json2string (const nlohmann::json &v) |
| Serialize an nlohmann::json value to a pretty-printed string. More... | |
| int | get_integer (const nlohmann::json &v, const std::string &m) |
| double | get_double (const nlohmann::json &v, const std::string &m) |
| bool | get_bool (const nlohmann::json &v, const std::string &m) |
| std::string | get_string (const nlohmann::json &v, const std::string &m) |
| std::vector< double > | get_double_array (const nlohmann::json &v) |
| std::vector< double > | get_double_array (const nlohmann::json &v, const std::string &m) |
| std::vector< CoolPropDbl > | get_long_double_array (const nlohmann::json &v) |
| std::vector< CoolPropDbl > | get_long_double_array (const nlohmann::json &v, const std::string &name) |
| std::vector< std::vector< double > > | get_double_array2D (const nlohmann::json &v) |
| std::vector< std::vector< CoolPropDbl > > | get_long_double_array2D (const nlohmann::json &v) |
| std::vector< std::string > | get_string_array (const nlohmann::json &v) |
| std::vector< std::string > | get_string_array (const nlohmann::json &v, const std::string &m) |
| schema_validation_code | validate_schema (std::string_view schemaJson, std::string_view inputJson, std::string &errstr) |
Result of validate_schema() below.
| Enumerator | |
|---|---|
| SCHEMA_VALIDATION_OK | |
| SCHEMA_INVALID_JSON | |
| INPUT_INVALID_JSON | |
| SCHEMA_NOT_VALIDATED | |
|
inline |
Decode a CBOR byte buffer into an nlohmann::json document. Throws CoolProp::ValueError (never a raw nlohmann exception) on failure.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 13 of file PCSAFTFluidFactory.h.
|
inline |
Build a SaturationAncillaryFunction from its JSON description. Parses into a plain-typed SaturationAncillaryFunction::Values bundle and constructs from it, so no nlohmann type crosses the installed-header boundary.
Definition at line 41 of file FluidLibraryFactories.h.
|
inline |
Build a SurfaceTensionCorrelation from its JSON description. Parses into a plain-typed SurfaceTensionCorrelation::Values bundle and constructs from it, so no nlohmann type crosses the installed-header boundary.
Definition at line 26 of file FluidLibraryFactories.h.
|
inline |
Parse a JSON-formatted string into an nlohmann::json document. Throws CoolProp::ValueError (never a raw nlohmann exception) on failure.
|
inline |