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