Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
host::poco Namespace Reference

Plain old class object (POCO) types for loading configuration file. More...

Classes

struct  FileInfo
 
struct  SettingsInfo
 
struct  SESInfo
 
struct  BaselineInfo
 
struct  RiskFactorInfo
 
struct  ModellingInfo
 
struct  OutputInfo
 
struct  PolicyPeriodInfo
 
struct  PolicyImpactInfo
 
struct  PolicyAdjustmentInfo
 
struct  PolicyScenarioInfo
 
struct  CoefficientInfo
 
struct  LinearModelInfo
 
struct  Array2Info
 
struct  HierarchicalLevelInfo
 
struct  HierarchicalModelInfo
 
struct  VariableInfo
 
struct  FactorDynamicEquationInfo
 
struct  LiteHierarchicalModelInfo
 

Typedefs

using json = nlohmann::json
 JSON parser namespace alias. More...
 

Functions

void to_json (json &j, const CoefficientInfo &p)
 
void from_json (const json &j, CoefficientInfo &p)
 
void to_json (json &j, const LinearModelInfo &p)
 
void from_json (const json &j, LinearModelInfo &p)
 
void to_json (json &j, const Array2Info &p)
 
void from_json (const json &j, Array2Info &p)
 
void to_json (json &j, const HierarchicalLevelInfo &p)
 
void from_json (const json &j, HierarchicalLevelInfo &p)
 
void to_json (json &j, const FileInfo &p)
 
void from_json (const json &j, FileInfo &p)
 
void to_json (json &j, const SettingsInfo &p)
 
void from_json (const json &j, SettingsInfo &p)
 
void to_json (json &j, const SESInfo &p)
 
void from_json (const json &j, SESInfo &p)
 
void to_json (json &j, const BaselineInfo &p)
 
void from_json (const json &j, BaselineInfo &p)
 
void to_json (json &j, const RiskFactorInfo &p)
 
void from_json (const json &j, RiskFactorInfo &p)
 
void to_json (json &j, const ModellingInfo &p)
 
void from_json (const json &j, ModellingInfo &p)
 
void to_json (json &j, const VariableInfo &p)
 
void from_json (const json &j, VariableInfo &p)
 
void to_json (json &j, const FactorDynamicEquationInfo &p)
 
void from_json (const json &j, FactorDynamicEquationInfo &p)
 
void to_json (json &j, const PolicyPeriodInfo &p)
 
void from_json (const json &j, PolicyPeriodInfo &p)
 
void to_json (json &j, const PolicyImpactInfo &p)
 
void from_json (const json &j, PolicyImpactInfo &p)
 
void to_json (json &j, const PolicyAdjustmentInfo &p)
 
void from_json (const json &j, PolicyAdjustmentInfo &p)
 
void to_json (json &j, const PolicyScenarioInfo &p)
 
void from_json (const json &j, PolicyScenarioInfo &p)
 
void to_json (json &j, const OutputInfo &p)
 
void from_json (const json &j, OutputInfo &p)
 

Detailed Description

Plain old class object (POCO) types for loading configuration file.

Typedef Documentation

◆ json

using host::poco::json = typedef nlohmann::json

JSON parser namespace alias.

Configuration file serialisation / de-serialisation mapping specific to the JSON for Modern C++ library adopted by the project.

See also
https://github.com/nlohmann/json#arbitrary-types-conversions for details about the contents and code structure in this file.

Function Documentation

◆ from_json() [1/17]

void host::poco::from_json ( const json j,
Array2Info p 
)

◆ from_json() [2/17]

void host::poco::from_json ( const json j,
BaselineInfo p 
)

◆ from_json() [3/17]

void host::poco::from_json ( const json j,
CoefficientInfo p 
)

◆ from_json() [4/17]

void host::poco::from_json ( const json j,
FactorDynamicEquationInfo p 
)

◆ from_json() [5/17]

void host::poco::from_json ( const json j,
FileInfo p 
)

◆ from_json() [6/17]

void host::poco::from_json ( const json j,
HierarchicalLevelInfo p 
)

◆ from_json() [7/17]

void host::poco::from_json ( const json j,
LinearModelInfo p 
)

◆ from_json() [8/17]

void host::poco::from_json ( const json j,
ModellingInfo p 
)

◆ from_json() [9/17]

void host::poco::from_json ( const json j,
OutputInfo p 
)

◆ from_json() [10/17]

void host::poco::from_json ( const json j,
PolicyAdjustmentInfo p 
)

◆ from_json() [11/17]

void host::poco::from_json ( const json j,
PolicyImpactInfo p 
)

◆ from_json() [12/17]

void host::poco::from_json ( const json j,
PolicyPeriodInfo p 
)

◆ from_json() [13/17]

void host::poco::from_json ( const json j,
PolicyScenarioInfo p 
)

◆ from_json() [14/17]

void host::poco::from_json ( const json j,
RiskFactorInfo p 
)

◆ from_json() [15/17]

void host::poco::from_json ( const json j,
SESInfo p 
)

◆ from_json() [16/17]

void host::poco::from_json ( const json j,
SettingsInfo p 
)

◆ from_json() [17/17]

void host::poco::from_json ( const json j,
VariableInfo p 
)

◆ to_json() [1/17]

void host::poco::to_json ( json j,
const Array2Info p 
)

◆ to_json() [2/17]

void host::poco::to_json ( json j,
const BaselineInfo p 
)

◆ to_json() [3/17]

void host::poco::to_json ( json j,
const CoefficientInfo p 
)

◆ to_json() [4/17]

void host::poco::to_json ( json j,
const FactorDynamicEquationInfo p 
)

◆ to_json() [5/17]

void host::poco::to_json ( json j,
const FileInfo p 
)

◆ to_json() [6/17]

void host::poco::to_json ( json j,
const HierarchicalLevelInfo p 
)

◆ to_json() [7/17]

void host::poco::to_json ( json j,
const LinearModelInfo p 
)

◆ to_json() [8/17]

void host::poco::to_json ( json j,
const ModellingInfo p 
)

◆ to_json() [9/17]

void host::poco::to_json ( json j,
const OutputInfo p 
)

◆ to_json() [10/17]

void host::poco::to_json ( json j,
const PolicyAdjustmentInfo p 
)

◆ to_json() [11/17]

void host::poco::to_json ( json j,
const PolicyImpactInfo p 
)
Here is the call graph for this function:

◆ to_json() [12/17]

void host::poco::to_json ( json j,
const PolicyPeriodInfo p 
)
Here is the call graph for this function:

◆ to_json() [13/17]

void host::poco::to_json ( json j,
const PolicyScenarioInfo p 
)
Here is the call graph for this function:

◆ to_json() [14/17]

void host::poco::to_json ( json j,
const RiskFactorInfo p 
)

◆ to_json() [15/17]

void host::poco::to_json ( json j,
const SESInfo p 
)

◆ to_json() [16/17]

void host::poco::to_json ( json j,
const SettingsInfo p 
)

◆ to_json() [17/17]

void host::poco::to_json ( json j,
const VariableInfo p 
)