#include <ioformat/Versioning.h>
Versioning tool to check library infos.
◆ checkCompatibility() [1/2]
static bool ioformat::Versioning::checkCompatibility |
( |
| ) |
|
|
inlinestatic |
Check if the loaded library is compatible with the one defined in the header.
◆ checkCompatibility() [2/2]
static bool ioformat::Versioning::checkCompatibility |
( |
const VersionInfo & |
version | ) |
|
|
static |
Checks if the version of the loaded library is compatible with the one given in argument.
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. |
◆ version()
static VersionInfo ioformat::Versioning::version |
( |
| ) |
|
|
static |
Return the version of the currently loaded IOFormat library.
◆ versionString()
static std::string ioformat::Versioning::versionString |
( |
| ) |
|
|
static |
Return a description string of the currently loaded IOFormat library.
The documentation for this class was generated from the following file: