Describe the dpp API version and features.
More...
#include <bayeux/dpp/version.h>
|
static int | get_major () |
| Return the major version number of dpp, e.g., 1 for '1.2.3'. More...
|
|
static int | get_minor () |
| Return the minor version number of dpp, e.g., 2 for '1.2.3'. More...
|
|
static int | get_patch () |
| Return the patch version number of dpp, e.g., 3 for '1.2.3'. More...
|
|
static std::string | get_version () |
| Return the full version number of dpp as a string, e.g., '1.2.3'. More...
|
|
static bool | is_at_least (int major_, int minor_, int patch_) |
| Return true if the current dpp version >= (major, minor, patch) More...
|
|
static bool | has_feature (const std::string &feature_) |
| Return true if the named feature is available in dpp. More...
|
|
Describe the dpp API version and features.
◆ get_major()
static int dpp::version::get_major |
( |
| ) |
|
|
static |
Return the major version number of dpp, e.g., 1 for '1.2.3'.
◆ get_minor()
static int dpp::version::get_minor |
( |
| ) |
|
|
static |
Return the minor version number of dpp, e.g., 2 for '1.2.3'.
◆ get_patch()
static int dpp::version::get_patch |
( |
| ) |
|
|
static |
Return the patch version number of dpp, e.g., 3 for '1.2.3'.
◆ get_version()
static std::string dpp::version::get_version |
( |
| ) |
|
|
static |
Return the full version number of dpp as a string, e.g., '1.2.3'.
◆ has_feature()
static bool dpp::version::has_feature |
( |
const std::string & |
feature_ | ) |
|
|
static |
Return true if the named feature is available in dpp.
◆ is_at_least()
static bool dpp::version::is_at_least |
( |
int |
major_, |
|
|
int |
minor_, |
|
|
int |
patch_ |
|
) |
| |
|
static |
Return true if the current dpp version >= (major, minor, patch)
The documentation for this struct was generated from the following file: