Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
configuration_parsing.h File Reference

This file contains functions for loading subsections of the main JSON file. More...

#include "configuration.h"
#include <optional>
Include dependency graph for configuration_parsing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hgps
 Top-level namespace for Health-GPS Console host application.
 
namespace  hgps::input
 Data structures containing model parameters and configuration options.
 

Functions

void hgps::input::check_version (const nlohmann::json &j)
 Check the schema version and throw if invalid.
 
void hgps::input::load_input_info (const nlohmann::json &j, Configuration &config)
 Load input dataset.
 
void hgps::input::load_modelling_info (const nlohmann::json &j, Configuration &config)
 Load ModellingInfo from JSON.
 
void hgps::input::load_running_info (const nlohmann::json &j, Configuration &config)
 Load running section of JSON object.
 
void hgps::input::load_output_info (const nlohmann::json &j, Configuration &config, const std::optional< std::string > &output_folder)
 Load output section of JSON object.
 

Detailed Description

This file contains functions for loading subsections of the main JSON file.