IOLink
IOL_v1.2.0_release
Versioning.h
1
#pragma once
2
3
#include <cstdint>
4
#include <string>
5
6
#include <iolink/IOLinkAPI.h>
7
#include <iolink/Version.h>
8
9
namespace
iolink
10
{
11
15
class
IOLINK_API
Versioning
16
{
17
public
:
21
static
VersionInfo
version();
22
26
static
std::string versionString();
27
37
static
bool
checkCompatibility(
const
VersionInfo
& version);
38
42
static
inline
bool
checkCompatibility
() {
return
checkCompatibility
(IOLINK_VERSION); }
43
};
44
45
}
// end namespace iolink
iolink::Versioning
Versioning tool to check library infos.
Definition:
Versioning.h:15
iolink
All IOLink symbols are enclosed in this namespace.
Definition:
ArrayX.h:7
iolink::Versioning::checkCompatibility
static bool checkCompatibility()
Check if the loaded library is compatible with the one defined in the header.
Definition:
Versioning.h:42
iolink::VersionInfo
Simple structure to hold version info.
Definition:
Version.h:11
iolink
public
include
iolink
Versioning.h
Generated on Tue Jul 26 2022 08:54:17 for IOLink by
1.8.17