Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
identifier.h File Reference
#include <functional>
#include <map>
#include <ostream>
#include <string>
#include <unordered_map>
#include "nlohmann/json.hpp"
Include dependency graph for identifier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hgps::core::Identifier
 Entity unique identifier data type. More...
struct  std::hash< hgps::core::Identifier >
 Hash code function for Identifier type to be used in unordered containers. More...

Namespaces

namespace  hgps
 Top-level namespace for Health-GPS Console host application.
namespace  hgps::core
 Top-level namespace for Health-GPS Core C++ API.
namespace  hgps::core::detail
namespace  std
 Global namespace.

Functions

void hgps::core::from_json (const nlohmann::json &j, Identifier &id)
template<template< typename... > class Map, class Value>
void hgps::core::detail::map_from_json (const nlohmann::json &j, Map< hgps::core::Identifier, Value > &map)
core::Identifier hgps::operator""_id (const char *id, size_t)
 Allow users to use _id suffix to create Identifier (e.g. "Disease"_id).
template<class T>
void std::from_json (const nlohmann::json &j, std::map< hgps::core::Identifier, T > &map)
template<class T>
void std::from_json (const nlohmann::json &j, std::unordered_map< hgps::core::Identifier, T > &map)