Information about the current scoop version.
More...
#include <version.h>
Information about the current scoop version.
Definition at line 64 of file version.h.
static bool scoop::Version::check |
( |
| ) |
|
|
inlinestatic |
Runtime check for ABI compatibility.
Call from code using scoop. 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 96 of file version.h.
References SCOOP_VERSION_MAJOR, and SCOOP_VERSION_MINOR.
static int scoop::Version::getABI |
( |
| ) |
|
|
static |
- Returns
- the current binary interface version of scoop.
static int scoop::Version::getMajor |
( |
| ) |
|
|
static |
- Returns
- the current major version of scoop.
static int scoop::Version::getMinor |
( |
| ) |
|
|
static |
- Returns
- the current minor version of scoop.
static int scoop::Version::getPatch |
( |
| ) |
|
|
static |
- Returns
- the current patch level of scoop.
static unsigned long long scoop::Version::getRevision |
( |
| ) |
|
|
static |
static std::string scoop::Version::getRevString |
( |
| ) |
|
|
static |
- Returns
- the current scoop version plus the git SHA hash (MM.mm.pp.rev).
static std::string scoop::Version::getSchema |
( |
| ) |
|
|
inlinestatic |
- Returns
- JSON schema describing this object.
Definition at line 103 of file version.h.
static std::string scoop::Version::getString |
( |
| ) |
|
|
static |
- Returns
- the current scoop version (MM.mm.pp).
static std::string scoop::Version::toJSON |
( |
| ) |
|
|
inlinestatic |
- Returns
- JSON-encoded data for this object.
Definition at line 122 of file version.h.
The documentation for this class was generated from the following file: