neurolots  0.3.5
NeuroLOTs
nlgeometry::Version Class Reference

Information about the current nlgeometry version. More...

#include <version.h>

+ Collaboration diagram for nlgeometry::Version:

Static Public Member Functions

static int getMajor ()
 
static int getMinor ()
 
static int getPatch ()
 
static std::string getString ()
 
static unsigned long long 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 nlgeometry version.

Definition at line 64 of file nlgeometry/version.h.

Member Function Documentation

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

Runtime check for ABI compatibility.

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

References NLGEOMETRY_VERSION_MAJOR, and NLGEOMETRY_VERSION_MINOR.

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

Definition at line 103 of file nlgeometry/version.h.

static std::string nlgeometry::Version::getString ( )
static
Returns
the current nlgeometry version (MM.mm.pp).
static std::string nlgeometry::Version::toJSON ( )
inlinestatic
Returns
JSON-encoded data for this object.

Definition at line 122 of file nlgeometry/version.h.


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