34 #define DPP_VERSION_MAJOR 3 37 #define DPP_VERSION_MINOR 2 40 #define DPP_VERSION_PATCH 0 43 #define DPP_ENCODE_VERSION(major_, minor_, patch_) (((major_) * 10000) \ 48 #define DPP_VERSION DPP_ENCODE_VERSION(DPP_VERSION_MAJOR, \ 53 #define DPP_LIB_VERSION "3.2.0" 56 #define DPP_IS_AT_LEAST(major,minor,patch) (DPP_VERSION >= \ 57 DPP_ENCODE_VERSION(major,minor,patch)) 78 static bool is_at_least(
int major_,
int minor_,
int patch_);
81 static bool has_feature(
const std::string & feature_);
86 #endif // DPP_VERSION_H static int get_patch()
Return the patch version number of dpp, e.g., 3 for '1.2.3'.
Top-level namespace of the Bayeux/dpp module library.
Definition: base_module.h:56
static int get_minor()
Return the minor version number of dpp, e.g., 2 for '1.2.3'.
static int get_major()
Return the major version number of dpp, e.g., 1 for '1.2.3'.
static bool is_at_least(int major_, int minor_, int patch_)
Return true if the current dpp version >= (major, minor, patch)
static std::string get_version()
Return the full version number of dpp as a string, e.g., '1.2.3'.
static bool has_feature(const std::string &feature_)
Return true if the named feature is available in dpp.
Describe the dpp API version and features.
Definition: version.h:64