| IOLink 1.11.0

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
iolink::Versioning Class Reference

Versioning tool to check library infos. More...

`#include <iolink/Versioning.h>`

## Static Public Member Functions
static VersionInfo | version ()
| Return the version of the currently loaded IOLink library.
static std::string | versionString ()
| Return a description string of the currently loaded IOLink library.
static bool | checkCompatibility (const VersionInfo &version)
| Check if the loaded library'version is compatible with the given one.
static bool | checkCompatibility ()
| Check if the loaded library is compatible with the one defined in the header.

## Detailed Description

Versioning tool to check library infos.

## Member Function Documentation

## ◆ checkCompatibility()

static bool iolink::Versioning::checkCompatibility | ( | const VersionInfo & | version | ) |
| static

Check if the loaded library'version is compatible with the given one.

A version is compatible if:

- The major version is the same
- The library minor version is greater than the given one.

Parameters

  version | The version to check compatibility for.

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

- iolink/public/include/iolink/Versioning.h