Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
hgps::detail Namespace Reference

Internal details namespace for private data types and functions. More...

Classes

struct  RelativeRiskInfo
 Collate the information for retrieving relative risks for a disease. More...
 
class  StoreConverter
 Back-end data stop POCO types converter to Health-GPS types. More...
 

Typedefs

using DiseaseModelBuilder = std::function< std::shared_ptr< DiseaseModel >(DiseaseDefinition &definition, WeightModel &&classifier, const core::IntegerInterval &age_range)>
 Defines the disease model builder function signature and required parameters type. More...
 

Functions

RelativeRisk create_relative_risk (const RelativeRiskInfo &info)
 Creates the relative risk definition for a disease. More...
 
const std::string model_action_str (const ModelAction action)
 Converts enumeration to string, not pretty but no support in C++. More...
 

Detailed Description

Internal details namespace for private data types and functions.

Typedef Documentation

◆ DiseaseModelBuilder

using hgps::detail::DiseaseModelBuilder = typedef std::function<std::shared_ptr<DiseaseModel>( DiseaseDefinition &definition, WeightModel &&classifier, const core::IntegerInterval &age_range)>

Defines the disease model builder function signature and required parameters type.

Function Documentation

◆ create_relative_risk()

RelativeRisk hgps::detail::create_relative_risk ( const RelativeRiskInfo info)

Creates the relative risk definition for a disease.

Parameters
infoThe relative risk information
Returns
The disease relative risk instance
Here is the call graph for this function:

◆ model_action_str()

const std::string hgps::detail::model_action_str ( const ModelAction  action)

Converts enumeration to string, not pretty but no support in C++.

Here is the caller graph for this function: