|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Top-level namespace for Health-GPS Core C++ API. More...
Namespaces | |
| detail | |
Classes | |
| struct | LifeExpectancyItem |
| Life expectancy item for a country data structure. More... | |
| struct | DiseaseAnalysisEntity |
| Burden of Diseases (BoD) analysis for a country data structure. More... | |
| struct | LmsDataRow |
| LMS (lambda-mu-sigma) parameters data structure. More... | |
| class | Array2D |
| Defines a contiguous storage for two-dimensional numerical data in row-major format. More... | |
| class | DataTableColumn |
| DataTable columns interface data type. More... | |
| class | PrimitiveDataTableColumnBuilder |
| Primitive data type DataTable column builder class. More... | |
| class | DataTableColumnIterator |
| DataTable column iterator data type class. More... | |
| class | FloatDataTableColumn |
DataTable column for storing float data type class. More... | |
| class | DoubleDataTableColumn |
DataTable column for storing double data type class. More... | |
| class | IntegerDataTableColumn |
DataTable column for storing integer data type class. More... | |
| class | PrimitiveDataTableColumn |
| Primitive data type DataTable columns class. More... | |
| class | StringDataTableColumn |
DataTable column for storing string data type class. More... | |
| struct | Country |
| Country ISO-3166 definition data structure. More... | |
| class | Datastore |
Defines the Health-GPS back-end data store interface for all implementations. More... | |
| class | DataTable |
| Defines a Datatable for in memory data class. More... | |
| struct | DiseaseInfo |
| Disease information structure. More... | |
| struct | DiseaseItem |
| Disease data item structure. More... | |
| struct | DiseaseEntity |
| Disease full definition data structure. More... | |
| struct | RelativeRiskEntity |
| Diseases relative risk effect table data structure. More... | |
| struct | CancerParameterEntity |
| Cancer disease parameters per country data structure. More... | |
| struct | LookupGenderValue |
| Lookup table entry for gender values. More... | |
| struct | Identifier |
| Entity unique identifier data type. More... | |
| struct | BirthItem |
| Birth rate indicator for a country data structure. More... | |
| class | Interval |
| Numeric interval representation data type. More... | |
| class | MathHelper |
| Additional mathematical functions and determines the parameters of the floating point representation. More... | |
| struct | MortalityItem |
| Population mortality trends for a country data structure. More... | |
| struct | PopulationItem |
| Population trends item data structure. More... | |
| class | ScopedTimer |
| Timer to printout scope execution time in milliseconds. More... | |
| struct | case_insensitive |
| Case-insensitive operations on ASCII strings. More... | |
| class | UnivariateSummary |
| Defines an univariate statistical summary data type. More... | |
| class | Version |
| Application Programming Interface (API) version data type. More... | |
| class | DataTableColumnVisitor |
| DataTable column visitor interface. More... | |
Typedefs | |
| using | FloatArray2D = Array2D< float > |
| Contiguous storage for two-dimensional single precision values. More... | |
| using | DoubleArray2D = Array2D< double > |
| Contiguous storage for two-dimensional double precision values. More... | |
| using | IntegerArray2D = Array2D< int > |
| Contiguous storage for two-dimensional integer values. More... | |
| using | StringDataTableColumnBuilder = PrimitiveDataTableColumnBuilder< StringDataTableColumn > |
Builder for DataTable columns storing string data type class. More... | |
| using | FloatDataTableColumnBuilder = PrimitiveDataTableColumnBuilder< FloatDataTableColumn > |
Builder for DataTable columns storing float data type class. More... | |
| using | DoubleDataTableColumnBuilder = PrimitiveDataTableColumnBuilder< DoubleDataTableColumn > |
Builder for DataTable columns storing double data type class. More... | |
| using | IntegerDataTableColumnBuilder = PrimitiveDataTableColumnBuilder< IntegerDataTableColumn > |
Builder for DataTable columns storing Integer data type class. More... | |
| using | IntegerInterval = Interval< int > |
| Interval representation integer data type. More... | |
| using | FloatInterval = Interval< float > |
| Interval representation for single-precision data type. More... | |
| using | DoubleInterval = Interval< double > |
| Interval representation for double-precision data type. More... | |
Enumerations | |
| enum class | VerboseMode : uint8_t { none , verbose } |
| Verbosity mode enumeration. More... | |
| enum class | Gender : uint8_t { unknown , male , female } |
| Enumerates gender types. More... | |
| enum class | DiseaseGroup : uint8_t { other , cancer } |
| Enumerates supported diseases types. More... | |
Functions | |
| bool | operator> (const Country &lhs, const Country &rhs) |
| Greater-than operation for country data type. More... | |
| bool | operator< (const Country &lhs, const Country &rhs) |
| Less-than operation for country data type. More... | |
| bool | operator< (const DiseaseInfo &lhs, const DiseaseInfo &rhs) |
| Determine whether a specified DiseaseInfo is less than another instance. More... | |
| bool | operator> (const DiseaseInfo &lhs, const DiseaseInfo &rhs) |
| Determine whether a specified DiseaseInfo is greater than another instance. More... | |
| std::ostream & | operator<< (std::ostream &stream, const Identifier &identifier) |
| void | from_json (const nlohmann::json &j, Identifier &id) |
| void | from_json (const nlohmann::json &j, std::map< Identifier, double > &map) |
| IntegerInterval | parse_integer_interval (const std::string_view &value, const std::string_view delims="-") |
| Converts the string representation to its IntegerInterval equivalent. More... | |
| FloatInterval | parse_float_interval (const std::string_view &value, const std::string_view delims="-") |
| Converts the string representation to its FloatInterval equivalent. More... | |
| DoubleInterval | parse_double_interval (const std::string_view &value, const std::string_view delims="-") |
| Converts the string representation to its DoubleInterval equivalent. More... | |
| bool | operator< (MortalityItem const &lhs, MortalityItem const &rhs) |
| Determine whether a specified MortalityItem is less than another instance. More... | |
| bool | operator> (MortalityItem const &lhs, MortalityItem const &rhs) |
| Determine whether a specified MortalityItem is greater than another instance. More... | |
| bool | operator< (PopulationItem const &lhs, PopulationItem const &rhs) |
| Determine whether a specified PopulationItem is less than another instance. More... | |
| bool | operator> (PopulationItem const &lhs, PopulationItem const &rhs) |
| Determine whether a specified PopulationItem is greater than another instance. More... | |
| std::string | trim (std::string value) noexcept |
| Trim leading and trailing occurrences of white-space characters from string. More... | |
| std::string | to_lower (const std::string_view &value) noexcept |
| Converts the given ASCII string to lower-case. More... | |
| std::string | to_upper (const std::string_view &value) noexcept |
| Converts the given ASCII string to upper-case. More... | |
| std::vector< std::string_view > | split_string (const std::string_view &value, std::string_view delims) noexcept |
| Splits a string into substrings based on specified delimiting characters. More... | |
| template<class F , class... Ts> | |
| auto | run_async (F &&action, Ts &&...params) |
| Run a given function asynchronous. More... | |
| template<class Policy , class Index , class UnaryFunction > | |
| auto | parallel_for (Policy &&policy, Index first, Index last, UnaryFunction func) |
| Parallel for each over an indexed accessed containers. More... | |
| template<class Policy , class T , class UnaryPredicate > | |
| auto | find_index_of_all (Policy &&policy, const T &data, UnaryPredicate pred) |
| Finds index of all occurrences in a container. More... | |
| std::ostream & | operator<< (std::ostream &stream, const UnivariateSummary &summary) |
Variables | |
| template<typename T > | |
| concept | Numerical = std::is_arithmetic_v<T> |
| C++20 concept for numeric columns types. More... | |
| constexpr auto | execution_policy = std::execution::par |
| Default execution policy. More... | |
| constexpr auto | API_MAJOR = 1 |
| Version major number. More... | |
| constexpr auto | API_MINOR = 2 |
| Version minor number. More... | |
| constexpr auto | API_PATCH = 0 |
| Version patch number. More... | |
Top-level namespace for Health-GPS Core C++ API.
| using hgps::core::DoubleArray2D = typedef Array2D<double> |
Contiguous storage for two-dimensional double precision values.
| using hgps::core::DoubleDataTableColumnBuilder = typedef PrimitiveDataTableColumnBuilder<DoubleDataTableColumn> |
Builder for DataTable columns storing double data type class.
| using hgps::core::DoubleInterval = typedef Interval<double> |
Interval representation for double-precision data type.
| using hgps::core::FloatArray2D = typedef Array2D<float> |
Contiguous storage for two-dimensional single precision values.
| using hgps::core::FloatDataTableColumnBuilder = typedef PrimitiveDataTableColumnBuilder<FloatDataTableColumn> |
Builder for DataTable columns storing float data type class.
| using hgps::core::FloatInterval = typedef Interval<float> |
Interval representation for single-precision data type.
| using hgps::core::IntegerArray2D = typedef Array2D<int> |
Contiguous storage for two-dimensional integer values.
| using hgps::core::IntegerDataTableColumnBuilder = typedef PrimitiveDataTableColumnBuilder<IntegerDataTableColumn> |
Builder for DataTable columns storing Integer data type class.
| using hgps::core::IntegerInterval = typedef Interval<int> |
Interval representation integer data type.
| using hgps::core::StringDataTableColumnBuilder = typedef PrimitiveDataTableColumnBuilder<StringDataTableColumn> |
Builder for DataTable columns storing string data type class.
|
strong |
|
strong |
|
strong |
| auto hgps::core::find_index_of_all | ( | Policy && | policy, |
| const T & | data, | ||
| UnaryPredicate | pred | ||
| ) |
Finds index of all occurrences in a container.
| Policy | Execution policy type |
| T | Container type |
| UnaryPredicate | Predicate type |
| policy | The execution policy to use |
| data | The container to search |
| pred | The predicated object to apply |
| void hgps::core::from_json | ( | const nlohmann::json & | j, |
| Identifier & | id | ||
| ) |
| void hgps::core::from_json | ( | const nlohmann::json & | j, |
| std::map< Identifier, double > & | map | ||
| ) |
Less-than operation for country data type.
| lhs | The left country to compare |
| rhs | The right country to compare |
|
inline |
Determine whether a specified DiseaseInfo is less than another instance.
| lhs | The first instance to compare. |
| rhs | The second instance to compare. |
|
inline |
Determine whether a specified MortalityItem is less than another instance.
| lhs | The first instance to compare. |
| rhs | The second instance to compare. |
|
inline |
Determine whether a specified PopulationItem is less than another instance.
| lhs | The first instance to compare. |
| rhs | The second instance to compare. |
| std::ostream& hgps::core::operator<< | ( | std::ostream & | stream, |
| const Identifier & | identifier | ||
| ) |
| stream | The stream to output |
| identifier | The Identifier instance |
| std::ostream& hgps::core::operator<< | ( | std::ostream & | stream, |
| const UnivariateSummary & | summary | ||
| ) |
| stream | The stream to output |
| summary | The UnivariateSummary instance |
Greater-than operation for country data type.
| lhs | The left country to compare |
| rhs | The right country to compare |
|
inline |
Determine whether a specified DiseaseInfo is greater than another instance.
| lhs | The first instance to compare. |
| rhs | The second instance to compare. |
|
inline |
Determine whether a specified MortalityItem is greater than another instance.
| lhs | The first instance to compare. |
| rhs | The second instance to compare. |
|
inline |
Determine whether a specified PopulationItem is greater than another instance.
| lhs | The first instance to compare. |
| rhs | The second instance to compare. |
| auto hgps::core::parallel_for | ( | Policy && | policy, |
| Index | first, | ||
| Index | last, | ||
| UnaryFunction | func | ||
| ) |
Parallel for each over an indexed accessed containers.
| Policy | Execution policy type |
| Index | Iterator type |
| UnaryFunction | Function type |
| policy | The execution policy to use |
| first | The first element iterator |
| last | The last element iterator |
| func | The function object to apply |
| DoubleInterval hgps::core::parse_double_interval | ( | const std::string_view & | value, |
| const std::string_view | delims = "-" |
||
| ) |
Converts the string representation to its DoubleInterval equivalent.
| value | The string representation to parse. |
| delims | The fields delimiter to use. |
| std::invalid_argument | for invalid integer interval string representation formats. |
| FloatInterval hgps::core::parse_float_interval | ( | const std::string_view & | value, |
| const std::string_view | delims = "-" |
||
| ) |
Converts the string representation to its FloatInterval equivalent.
| value | The string representation to parse. |
| delims | The fields delimiter to use. |
| std::invalid_argument | for invalid integer interval string representation formats. |
| IntegerInterval hgps::core::parse_integer_interval | ( | const std::string_view & | value, |
| const std::string_view | delims = "-" |
||
| ) |
Converts the string representation to its IntegerInterval equivalent.
| value | The string representation to parse. |
| delims | The fields delimiter to use. |
| std::invalid_argument | for invalid integer interval string representation formats. |
| auto hgps::core::run_async | ( | F && | action, |
| Ts &&... | params | ||
| ) |
Run a given function asynchronous.
| F | Function type |
| ...Ts | Function parameters type |
| action | The action to run |
| ...params | The action parameters |
|
noexcept |
Splits a string into substrings based on specified delimiting characters.
| value | The source string to split |
| delims | The delimiting character to split |
|
noexcept |
Converts the given ASCII string to lower-case.
| value | The string to convert |
|
noexcept |
Converts the given ASCII string to upper-case.
| value | The string to convert |
|
noexcept |
Trim leading and trailing occurrences of white-space characters from string.
| value | The string to trim |
|
constexpr |
Version major number.
|
constexpr |
Version minor number.
|
constexpr |
Version patch number.
|
inlineconstexpr |
Default execution policy.
| concept hgps::core::Numerical = std::is_arithmetic_v<T> |
C++20 concept for numeric columns types.