Implements #648 by adding additional choices for hdf5::property::LibVersion. The available choices are constraint based on the available version of HDF5:
Starting with v1.10.2: V18 and V110
Starting with v1.12.0: V112
Starting with v1.13.0 (!): V114
The current master which is bound to become 1.15 one day will additionally add V116 (not yet included in the PR)
One important thing to notice:
When the specific versions (V18, V110, etc.) where first introduced in v1.10.2, HDF5_LIBVER_LATEST was removed from the H5F_libver_t enum and instead #define'd to refer to the actual latest version among the now added enum values V18, V110, etc. Therefore, starting with v1.10.2 LibVersion::Latest is no longer distinguishable from the actual latest version (e.g., LibVersion::V110). I therefore removed the printing of "Latest" in favor of printing the actual version number in case LibVersion::Latest was specified. I did not see a better alternative, as the cases in this switch-statement need to remain disjoint.
Implements #648 by adding additional choices for
hdf5::property::LibVersion
. The available choices are constraint based on the available version of HDF5:One important thing to notice:
When the specific versions (V18, V110, etc.) where first introduced in v1.10.2,
HDF5_LIBVER_LATEST
was removed from theH5F_libver_t
enum and instead#define
'd to refer to the actual latest version among the now added enum valuesV18
,V110
, etc. Therefore, starting with v1.10.2LibVersion::Latest
is no longer distinguishable from the actual latest version (e.g.,LibVersion::V110
). I therefore removed the printing of "Latest" in favor of printing the actual version number in caseLibVersion::Latest
was specified. I did not see a better alternative, as the cases in this switch-statement need to remain disjoint.