IOFormat  IOF_v0.34.0_release
Versioning.h
1 #pragma once
2 
3 #include <cstdint>
4 #include <string>
5 
6 #include <ioformat/IOFormatAPI.h>
7 #include <ioformat/Version.h>
8 
9 namespace ioformat
10 {
11 
15 class IOFORMAT_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(IOFORMAT_VERSION); }
43 };
44 
45 } // end namespace ioformat
ioformat::Versioning
Definition: Versioning.h:15
ioformat::Versioning::checkCompatibility
static bool checkCompatibility()
Definition: Versioning.h:42
ioformat
Global namespace which contains all methods to encode/decode data from/into different resources (file...
Definition: Error.h:5