25 #ifndef GENBB_HELP_VERSION_H 26 #define GENBB_HELP_VERSION_H 34 #define GENBB_HELP_VERSION_MAJOR 6 37 #define GENBB_HELP_VERSION_MINOR 2 40 #define GENBB_HELP_VERSION_PATCH 0 43 #define GENBB_HELP_ENCODE_VERSION(major, minor, patch) ( \ 49 #define GENBB_HELP_VERSION GENBB_HELP_ENCODE_VERSION( \ 50 GENBB_HELP_VERSION_MAJOR, \ 51 GENBB_HELP_VERSION_MINOR, \ 52 GENBB_HELP_VERSION_PATCH) 55 #define GENBB_HELP_LIB_VERSION "6.2.0" 58 #define GENBB_HELP_IS_AT_LEAST(major,minor,patch) ( \ 59 GENBB_HELP_VERSION >= \ 60 GENBB_HELP_ENCODE_VERSION(major,minor,patch)) 81 static bool is_at_least(
int major,
int minor,
int patch);
84 static bool has_feature(
const std::string& feature);
89 #endif // GENBB_HELP_VERSION_H static bool has_feature(const std::string &feature)
Return true if the named feature is available in genbb_help.
static std::string get_version()
Return the full version number of genbb_help as a string, e.g., '1.2.3'.
Describe the genbb_help API version and features.
Definition: version.h:67
static int get_minor()
Return the minor version number of genbb_help, e.g., 2 for '1.2.3'.
static int get_major()
Return the major version number of genbb_help, e.g., 1 for '1.2.3'.
static bool is_at_least(int major, int minor, int patch)
Return true if the current genbb_help version >= (major, minor, patch)
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
static int get_patch()
Return the patch version number of genbb_help, e.g., 3 for '1.2.3'.