Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Application Programming Interface (API) version data type. More...
#include <version.h>
Public Member Functions | |
Version ()=delete | |
Version (const Version &)=delete | |
Version & | operator= (const Version &)=delete |
Version (const Version &&)=delete | |
Version & | operator= (const Version &&)=delete |
Static Public Member Functions | |
static int | GetMajor () |
Gets the API major version. More... | |
static int | GetMinor () |
Gets the API minor version. More... | |
static int | GetPatch () |
Gets the API patch version. More... | |
static std::string | GetVersion () |
Creates a string representation of API version. More... | |
static bool | IsAtLeast (int major, int minor, int patch) |
Validates the API version compatibility. More... | |
static bool | HasFeature (const std::string &name) |
Checks whether the API version has specific features. More... | |
Application Programming Interface (API) version data type.
|
delete |
|
delete |
|
delete |
|
static |
Gets the API major version.
|
static |
Gets the API minor version.
|
static |
Gets the API patch version.
|
static |
Creates a string representation of API version.
|
static |
Checks whether the API version has specific features.
name | The required feature name |
|
static |
Validates the API version compatibility.
major | Minimum required major version |
minor | Minimum required minor version |
patch | Minimum required patch version |