FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTversion.hpp>
Public Member Functions | |
FMTversion ()=default | |
~FMTversion ()=default | |
Public Member Functions inherited from Core::FMTobject | |
FMTobject () | |
virtual | ~FMTobject () |
FMTobject (const std::shared_ptr< Exception::FMTexceptionhandler > exhandler) | |
FMTobject (const FMTobject &rhs) | |
FMTobject & | operator= (const FMTobject &rhs) |
virtual void | passinlogger (const std::shared_ptr< Logging::FMTlogger > &logger) |
void | passinexceptionhandler (const std::shared_ptr< Exception::FMTexceptionhandler > &exhandler) |
void | redirectlogtofile (const std::string &location) |
virtual void | setdefaultlogger () |
virtual void | setquietlogger () |
virtual void | settasklogger () |
virtual void | setdebuglogger () |
void | setdefaultexceptionhandler () |
void | setquietexceptionhandler () |
void | setdebugexceptionhandler () |
void | setfreeexceptionhandler () |
void | disablenestedexceptions () |
void | enablenestedexceptions () |
void | seterrorstowarnings (const std::vector< Exception::FMTexc > &errors) |
void | setmaxwarningsbeforesilenced (const size_t &maxwarningcount) |
Static Public Member Functions | |
static int | getmajor () |
static int | getminor () |
static int | getpatch () |
static std::string | getversion () |
static std::string | getdatenow () |
static std::string | getbuilddate () |
static bool | isatleast (int major, int minor, int patch) |
static bool | hasfeature (const std::string &name) |
static std::string | getlicense (bool french=false) |
Static Public Member Functions inherited from Core::FMTobject | |
static std::string | getruntimelocation () |
static unsigned long long | getavailablememory () |
Additional Inherited Members | |
Protected Member Functions inherited from Core::FMTobject | |
template<class Archive > | |
void | forcesave (Archive &ar, const unsigned int version) const |
template<class Archive > | |
void | forceload (Archive &ar, const unsigned int version) |
void | checksignals () const |
void | setCPLhandler () |
Static Protected Member Functions inherited from Core::FMTobject | |
static std::chrono::time_point< std::chrono::high_resolution_clock > | getclock () |
template<class chrono > | |
static double | getduration (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock) |
static std::string | getdurationinseconds (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock) |
Static Protected Attributes inherited from Core::FMTobject | |
static std::shared_ptr< Exception::FMTexceptionhandler > | _exhandler |
A shared pointer to the exception handler. | |
static std::shared_ptr< Logging::FMTlogger > | _logger |
A shared pointer to the logger. | |
The only purpose of this class is to let the user see which version of FMT he's using. It also gives some information about the build date and the actual date. It also informs the user about which features are avalaible in FMT.
|
default |
Default constructor of FMTversion.
|
default |
Destructor of FMTversion.
|
static |
Getter of the build date: date
|
static |
Getter of the actual date: Day Month date
|
static |
Returns thes license has a regular string if french = true the returned license will be in french
|
static |
Getter of the major version of FMT.
|
static |
Getter of the minor version of FMT.
|
static |
Getter of the patch version of FMT.
|
static |
Getter of the string of the version : MAjor.Minor.PATCH
|
static |
Test if the FMT version have the named feature. Features GDAL,OSI,MOSEK,PYTHON,R.
|
static |
Test if the FMT version is at least the given major/minor/patch parameters.