25 #ifndef GENVTX_VERSION_H 26 #define GENVTX_VERSION_H 34 #define GENVTX_VERSION_MAJOR 5 37 #define GENVTX_VERSION_MINOR 2 40 #define GENVTX_VERSION_PATCH 0 43 #define GENVTX_ENCODE_VERSION(major, minor, patch) ( \ 49 #define GENVTX_VERSION GENVTX_ENCODE_VERSION( \ 50 GENVTX_VERSION_MAJOR, \ 51 GENVTX_VERSION_MINOR, \ 55 #define GENVTX_LIB_VERSION "5.2.0" 58 #define GENVTX_IS_AT_LEAST(major,minor,patch) ( \ 60 GENVTX_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 // GENVTX_VERSION_H Top-level namespace of the Bayeux/genvtx module library.
Definition: box_model_vg.h:32
static int get_major()
Return the major version number of genvtx, e.g., 1 for '1.2.3'.
Describe the genvtx API version and features.
Definition: version.h:67
static int get_patch()
Return the patch version number of genvtx, e.g., 3 for '1.2.3'.
static int get_minor()
Return the minor version number of genvtx, e.g., 2 for '1.2.3'.
static bool has_feature(const std::string &feature)
Return true if the named feature is available in genvtx.
static bool is_at_least(int major, int minor, int patch)
Return true if the current genvtx version >= (major, minor, patch)
static std::string get_version()
Return the full version number of genvtx as a string, e.g., '1.2.3'.