Information about the current ZeroBuf version.
More...
#include <version.h>
Information about the current ZeroBuf version.
Definition at line 56 of file version.h.
static bool zerobuf::Version::check |
( |
| ) |
|
|
inlinestatic |
Runtime check for ABI compatibility.
Call from code using ZeroBuf. 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 ZEROBUF_VERSION_MAJOR, and ZEROBUF_VERSION_MINOR.
static int zerobuf::Version::getABI |
( |
| ) |
|
|
static |
- Returns
- the current binary interface version of ZeroBuf.
static int zerobuf::Version::getMajor |
( |
| ) |
|
|
static |
- Returns
- the current major version of ZeroBuf.
static int zerobuf::Version::getMinor |
( |
| ) |
|
|
static |
- Returns
- the current minor version of ZeroBuf.
static int zerobuf::Version::getPatch |
( |
| ) |
|
|
static |
- Returns
- the current patch level of ZeroBuf.
static unsigned long long zerobuf::Version::getRevision |
( |
| ) |
|
|
static |
static std::string zerobuf::Version::getRevString |
( |
| ) |
|
|
static |
- Returns
- the current ZeroBuf version plus the git SHA hash (MM.mm.pp.rev).
static std::string zerobuf::Version::getSchema |
( |
| ) |
|
|
inlinestatic |
- Returns
- JSON schema describing this object.
Definition at line 95 of file version.h.
static std::string zerobuf::Version::getString |
( |
| ) |
|
|
static |
- Returns
- the current ZeroBuf version (MM.mm.pp).
static std::string zerobuf::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: