hwsd  1.1.1
 All Classes Files Functions Variables Enumerations Enumerator Pages
hwsd::Version Class Reference

Information about the current hwsd version. More...

#include <version.h>

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

Definition at line 51 of file version.h.

Member Function Documentation

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

Runtime check for ABI compatibility.

Call from code using hwsd. 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 83 of file version.h.

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

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