9#ifndef FMTVERSION_Hm_included
10#define FMTVERSION_Hm_included
96 static bool isAtLeast(
int major,
int minor,
int patch);
#define FMTEXPORT
Definition: FMTutility.h:125
Base class of multiple FMT classes holding a shared exception handler pointer and logger.
Definition: FMTObject.h:49
Class exposing the version of FMT, its build date and the available features.
Definition: FMTVersion.h:40
static int getMajor()
Return the major version of FMT.
static std::string getChangelog(bool french=false)
Return the changelog as a string.
static std::string getVersion()
Return the version string of FMT (Major.Minor.Patch).
static std::string getLicense(bool french=false)
Return the license as a string.
static int getMinor()
Return the minor version of FMT.
static std::string getBuildDate()
Return the build date of FMT.
static bool hasFeature(const std::string &name)
Test if the FMT version has the named feature (GDAL, OSI, MOSEK, PYTHON, R).
static int getPatch()
Return the patch version of FMT.
static std::string getDateNow()
Return the actual date (Day Month date).
FMTVersion()=default
Default constructor for FMTVersion.
~FMTVersion()=default
Default destructor for FMTVersion.
static bool isAtLeast(int major, int minor, int patch)
Test if the FMT version is at least the given major, minor and patch.
Namespace for handling FMT versions and features.
Definition: FMTVersion.h:31