Information about the current Pression version.
More...
#include <version.h>
Information about the current Pression version.
Definition at line 56 of file version.h.
static bool pression::Version::check |
( |
| ) |
|
|
inlinestatic |
Runtime check for ABI compatibility.
Call from code using Pression. Will fail if the executable was compiled against a version incompatible with the runtime version.
- Returns
- true if the link-time and compile-time DSO are compatible.
Definition at line 88 of file version.h.
References PRESSION_VERSION_MAJOR, and PRESSION_VERSION_MINOR.
static int pression::Version::getABI |
( |
| ) |
|
|
static |
- Returns
- the current binary interface version of Pression.
static int pression::Version::getMajor |
( |
| ) |
|
|
static |
- Returns
- the current major version of Pression.
static int pression::Version::getMinor |
( |
| ) |
|
|
static |
- Returns
- the current minor version of Pression.
static int pression::Version::getPatch |
( |
| ) |
|
|
static |
- Returns
- the current patch level of Pression.
static int pression::Version::getRevision |
( |
| ) |
|
|
static |
static std::string pression::Version::getRevString |
( |
| ) |
|
|
static |
- Returns
- the current Pression version plus the git SHA hash (MM.mm.pp.rev).
static std::string pression::Version::getString |
( |
| ) |
|
|
static |
- Returns
- the current Pression version (MM.mm.pp).
The documentation for this class was generated from the following file: