Servus  1.3.1
C++ network oriented utilities including a zeroconf implementation
servusqt::Version Class Reference

Information about the current ServusQt version. More...

#include <version.h>

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

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

Member Function Documentation

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

Runtime check for ABI compatibility.

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

References SERVUSQT_VERSION_MAJOR, and SERVUSQT_VERSION_MINOR.

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

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