30 #define OPENPMDAPI_VERSION_MAJOR 0
31 #define OPENPMDAPI_VERSION_MINOR 16
32 #define OPENPMDAPI_VERSION_PATCH 0
33 #define OPENPMDAPI_VERSION_LABEL "dev"
40 #define OPENPMD_STANDARD_MAJOR 1
41 #define OPENPMD_STANDARD_MINOR 1
42 #define OPENPMD_STANDARD_PATCH 0
48 #define OPENPMD_STANDARD_MIN_MAJOR 1
49 #define OPENPMD_STANDARD_MIN_MINOR 0
50 #define OPENPMD_STANDARD_MIN_PATCH 0
55 #define OPENPMDAPI_VERSIONIFY(major, minor, patch) \
56 (major * 1000000 + minor * 1000 + patch)
60 #define OPENPMDAPI_VERSION_GE(major, minor, patch) \
61 (OPENPMDAPI_VERSIONIFY( \
62 OPENPMDAPI_VERSION_MAJOR, \
63 OPENPMDAPI_VERSION_MINOR, \
64 OPENPMDAPI_VERSION_PATCH) >= \
65 OPENPMDAPI_VERSIONIFY(major, minor, patch))
Public definitions of openPMD-api.
Definition: Date.cpp:29
std::string getVersion()
Return the version of the openPMD-api library (run-time)
Definition: version.cpp:26
std::string getStandardMinimum()
Return the minimum supported version of the openPMD standard (read, run-time)
Definition: version.cpp:44
std::map< std::string, bool > getVariants()
Return the feature variants of the openPMD-api library (run-time)
Definition: config.cpp:33
std::vector< std::string > getFileExtensions()
Return the file extensions supported in this variant of the openPMD-api library (run-time)
Definition: config.cpp:49
std::string getStandard()
Return the maximum supported version of the openPMD standard (read & write, run-time)
Definition: version.cpp:36