Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
interval.h File Reference
#include "HealthGPS.Core/exception.h"
#include "forward_type.h"
#include "string_util.h"
#include <algorithm>
#include <fmt/format.h>
Include dependency graph for interval.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hgps::core::Interval< TYPE >
 Numeric interval representation data type. 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.

Typedefs

using hgps::core::IntegerInterval = Interval<int>
 Interval representation integer data type.
using hgps::core::FloatInterval = Interval<float>
 Interval representation for single-precision data type.
using hgps::core::DoubleInterval = Interval<double>
 Interval representation for double-precision data type.

Functions

IntegerInterval hgps::core::parse_integer_interval (const std::string_view &value, const std::string_view delims="-")
 Converts the string representation to its IntegerInterval equivalent.
FloatInterval hgps::core::parse_float_interval (const std::string_view &value, const std::string_view delims="-")
 Converts the string representation to its FloatInterval equivalent.
DoubleInterval hgps::core::parse_double_interval (const std::string_view &value, const std::string_view delims="-")
 Converts the string representation to its DoubleInterval equivalent.