25 #ifndef MATERIALS_VERSION_H 26 #define MATERIALS_VERSION_H 34 #define MATERIALS_VERSION_MAJOR 6 37 #define MATERIALS_VERSION_MINOR 2 40 #define MATERIALS_VERSION_PATCH 0 43 #define MATERIALS_ENCODE_VERSION(major, minor, patch) ( \ 49 #define MATERIALS_VERSION MATERIALS_ENCODE_VERSION( \ 50 MATERIALS_VERSION_MAJOR, \ 51 MATERIALS_VERSION_MINOR, \ 52 MATERIALS_VERSION_PATCH) 55 #define MATERIALS_LIB_VERSION "6.2.0" 58 #define MATERIALS_IS_AT_LEAST(major,minor,patch) ( \ 59 MATERIALS_VERSION >= \ 60 MATERIALS_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 // MATERIALS_VERSION_H static int get_patch()
Return the patch version number of materials, e.g., 3 for '1.2.3'.
static bool is_at_least(int major, int minor, int patch)
Return true if the current materials version >= (major, minor, patch)
static bool has_feature(const std::string &feature)
Return true if the named feature is available in materials.
Describe the materials API version and features.
Definition: version.h:68
static std::string get_version()
Return the full version number of materials as a string, e.g., '1.2.3'.
static int get_major()
Return the major version number of materials, e.g., 1 for '1.2.3'.
Top-level namespace of the Bayeux/materials module library.
Definition: geom_manager_utils.h:14
static int get_minor()
Return the minor version number of materials, e.g., 2 for '1.2.3'.