25 #ifndef BRIO_VERSION_H 26 #define BRIO_VERSION_H 34 #define BRIO_VERSION_MAJOR 6 37 #define BRIO_VERSION_MINOR 2 40 #define BRIO_VERSION_PATCH 0 43 #define BRIO_ENCODE_VERSION(major, minor, patch) ( \ 49 #define BRIO_VERSION BRIO_ENCODE_VERSION( \ 55 #define BRIO_LIB_VERSION "6.2.0" 58 #define BRIO_IS_AT_LEAST(major_,minor_,patch_) ( \ 60 BRIO_ENCODE_VERSION(major_,minor_,patch_)) 82 static bool is_at_least(
int major_,
int minor_,
int patch_);
85 static bool has_feature(
const std::string & feature_);
90 #endif // BRIO_VERSION_H static std::string get_version()
Return the full version number of brio as a string, e.g., '1.2.3'.
static int get_major()
Return the major version number of brio, e.g., 1 for '1.2.3'.
static int get_minor()
Return the minor version number of brio, e.g., 2 for '1.2.3'.
static bool has_feature(const std::string &feature_)
Return true if the named feature is available in brio.
Describe the brio API version and features.
Definition: version.h:67
static int get_patch()
Return the patch version number of brio, e.g., 3 for '1.2.3'.
Top-level namespace of the Bayeux/brio module library.
Definition: base_io.h:37
static bool is_at_least(int major_, int minor_, int patch_)
Return true if the current brio version >= (major, minor, patch)