ZeroBuf  0.1.0
ZeroBuf is a replacement for FlatBuffers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
zerobufrender::Version Class Reference

Information about the current ZeroBufRender version. More...

#include <version.h>

+ Collaboration diagram for zerobufrender::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...
 

Detailed Description

Information about the current ZeroBufRender version.

Definition at line 56 of file render/version.h.

Member Function Documentation

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

Runtime check for ABI compatibility.

Call from code using ZeroBufRender. 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 render/version.h.

References ZEROBUFRENDER_VERSION_MAJOR, and ZEROBUFRENDER_VERSION_MINOR.

static int zerobufrender::Version::getABI ( )
static
Returns
the current binary interface version of ZeroBufRender.
static int zerobufrender::Version::getMajor ( )
static
Returns
the current major version of ZeroBufRender.
static int zerobufrender::Version::getMinor ( )
static
Returns
the current minor version of ZeroBufRender.
static int zerobufrender::Version::getPatch ( )
static
Returns
the current patch level of ZeroBufRender.
static int zerobufrender::Version::getRevision ( )
static
Returns
the SCM revision.
static std::string zerobufrender::Version::getRevString ( )
static
Returns
the current ZeroBufRender version plus the git SHA hash (MM.mm.pp.rev).
static std::string zerobufrender::Version::getString ( )
static
Returns
the current ZeroBufRender version (MM.mm.pp).

The documentation for this class was generated from the following file: