v1.0.0-rc.34

This commit is contained in:
2025-04-14 11:52:06 +02:00
parent 708b5fbc4b
commit b0607ab3ca
238 changed files with 4590 additions and 1329 deletions
+12 -8
View File
@@ -9,16 +9,20 @@ FileWriterSettings &FileWriterSettings::OverwriteExistingFiles(bool input) {
return *this;
}
FileWriterSettings &FileWriterSettings::HDF5MasterFormatVersion(int input) {
if ((input == 1) || (input == 2))
hdf5_master_format_version = input;
else
throw JFJochException(JFJochExceptionCategory::InputParameterInvalid,
"Only 1 and 2 allowed");
return *this;
FileWriterSettings &FileWriterSettings::HDF5MasterFormatVersion(FileWriterFileFormat input) {
switch (input) {
case FileWriterFileFormat::DataOnly:
case FileWriterFileFormat::NXmxLegacy:
case FileWriterFileFormat::NXmxVDS:
hdf5_master_format_version = input;
return *this;
default:
throw JFJochException(JFJochExceptionCategory::InputParameterInvalid,
"Only 1 and 2 allowed");
}
}
int FileWriterSettings::GetHDF5MasterFormatVersion() const {
FileWriterFileFormat FileWriterSettings::GetHDF5MasterFormatVersion() const {
return hdf5_master_format_version;
}