5 #include <unordered_map>
14 std::map<std::string, std::string>
columns;
72 std::optional<unsigned int>
to_age{};
75 return std::to_string(
to_age.value());
Plain old class object (POCO) types for loading configuration file.
Definition: jsonparser.cpp:3
std::string encoding
Definition: poco.h:31
std::map< std::string, std::string > file_names
Definition: poco.h:32
std::string delimiter
Definition: poco.h:30
std::string format
Definition: poco.h:29
std::string delimiter
Definition: poco.h:12
std::map< std::string, std::string > columns
Definition: poco.h:14
std::string encoding
Definition: poco.h:13
std::string format
Definition: poco.h:11
std::string name
Definition: poco.h:10
std::vector< RiskFactorInfo > risk_factors
Definition: poco.h:43
std::string dynamic_risk_factor
Definition: poco.h:44
BaselineInfo baseline_adjustment
Definition: poco.h:46
std::unordered_map< std::string, std::string > risk_factor_models
Definition: poco.h:45
std::string file_name
Definition: poco.h:52
unsigned int comorbidities
Definition: poco.h:50
std::string folder
Definition: poco.h:51
double value
Definition: poco.h:84
std::string risk_factor
Definition: poco.h:83
std::optional< unsigned int > to_age
Definition: poco.h:72
unsigned int from_age
Definition: poco.h:71
double impact_value
Definition: poco.h:70
std::string to_age_str() const
Definition: poco.h:73
std::string risk_factor
Definition: poco.h:69
int start_time
Definition: poco.h:56
std::string to_finish_time_str() const
Definition: poco.h:59
std::optional< int > finish_time
Definition: poco.h:57
std::vector< PolicyImpactInfo > impacts
Definition: poco.h:97
PolicyPeriodInfo active_period
Definition: poco.h:89
std::string to_coverage_cutoff_time_str() const
Definition: poco.h:99
std::vector< double > coefficients
Definition: poco.h:91
std::optional< unsigned int > child_cutoff_age
Definition: poco.h:94
std::vector< double > coverage_rates
Definition: poco.h:92
std::optional< unsigned int > coverage_cutoff_time
Definition: poco.h:93
std::vector< double > dynamics
Definition: poco.h:90
std::string impact_type
Definition: poco.h:96
std::string identifier
Definition: poco.h:88
std::string to_child_cutoff_age_str() const
Definition: poco.h:107
std::vector< PolicyAdjustmentInfo > adjustments
Definition: poco.h:95
std::vector< double > range
Definition: poco.h:39
short level
Definition: poco.h:37
std::string proxy
Definition: poco.h:38
std::string name
Definition: poco.h:36
std::vector< double > parameters
Definition: poco.h:25
float size_fraction
Definition: poco.h:19
std::vector< int > age_range
Definition: poco.h:20
std::string country
Definition: poco.h:18