25 #ifndef MYGSL_VERSION_H 26 #define MYGSL_VERSION_H 33 #define MYGSL_VERSION_MAJOR 6 36 #define MYGSL_VERSION_MINOR 2 39 #define MYGSL_VERSION_PATCH 0 42 #define MYGSL_ENCODE_VERSION(major, minor, patch) ( \ 48 #define MYGSL_VERSION MYGSL_ENCODE_VERSION( \ 49 MYGSL_VERSION_MAJOR, \ 50 MYGSL_VERSION_MINOR, \ 54 #define MYGSL_LIB_VERSION "6.2.0" 57 #define MYGSL_IS_AT_LEAST(major,minor,patch) ( \ 59 MYGSL_ENCODE_VERSION(major,minor,patch)) 79 static bool is_at_least(
int major,
int minor,
int patch);
82 static bool has_feature(
const std::string& feature);
86 #endif // MYGSL_VERSION_H static bool is_at_least(int major, int minor, int patch)
Return true if the current mygsl version >= (major, minor, patch)
static std::string get_version()
Return the full version number of mygsl as a string, e.g., '1.2.3'.
static int get_major()
Return the major version number of mygsl, e.g., 1 for '1.2.3'.
static int get_patch()
Return the patch version number of mygsl, e.g., 3 for '1.2.3'.
Describe the mygsl API version and features.
Definition: version.h:65
static int get_minor()
Return the minor version number of mygsl, e.g., 2 for '1.2.3'.
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
static bool has_feature(const std::string &feature)
Return true if the named feature is available in mygsl.