ZeroEQ  0.7.0
ZeroEQ - Zero Event Queue
zeroeq::Version Class Reference

Information about the current ZeroEQ version. More...

#include <version.h>

+ Collaboration diagram for zeroeq::Version:

Static Public Member Functions

static int getMajor ()
 
static int getMinor ()
 
static int getPatch ()
 
static std::string getString ()
 
static int getRevision ()
 
static int getABI ()
 
static std::string getRevString ()
 
static bool check ()
 Runtime check for ABI compatibility. More...
 
static std::string getSchema ()
 
static std::string toJSON ()
 

Detailed Description

Information about the current ZeroEQ version.

Definition at line 56 of file version.h.

Member Function Documentation

static bool zeroeq::Version::check ( )
inlinestatic

Runtime check for ABI compatibility.

Call from code using ZeroEQ. 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 ZEROEQ_VERSION_MAJOR, and ZEROEQ_VERSION_MINOR.

static int zeroeq::Version::getABI ( )
static
Returns
the current binary interface version of ZeroEQ.
static int zeroeq::Version::getMajor ( )
static
Returns
the current major version of ZeroEQ.
static int zeroeq::Version::getMinor ( )
static
Returns
the current minor version of ZeroEQ.
static int zeroeq::Version::getPatch ( )
static
Returns
the current patch level of ZeroEQ.
static int zeroeq::Version::getRevision ( )
static
Returns
the SCM revision.
static std::string zeroeq::Version::getRevString ( )
static
Returns
the current ZeroEQ version plus the git SHA hash (MM.mm.pp.rev).
static std::string zeroeq::Version::getSchema ( )
inlinestatic
Returns
JSON schema describing this object.

Definition at line 95 of file version.h.

static std::string zeroeq::Version::getString ( )
static
Returns
the current ZeroEQ version (MM.mm.pp).
static std::string zeroeq::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: