IOLink IOL_v1.8.0_release
Loading...
Searching...
No Matches
Versioning.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6#include <iolink/IOLinkAPI.h>
7#include <iolink/Version.h>
8
9namespace iolink
10{
11
15class IOLINK_API Versioning
16{
17public:
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