22 lines
686 B
C++
22 lines
686 B
C++
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#ifndef JFJOCH_FILEWRITERSETTINGS_H
|
|
#define JFJOCH_FILEWRITERSETTINGS_H
|
|
|
|
#include "../frame_serialize/JFJochMessages.h"
|
|
|
|
class FileWriterSettings {
|
|
FileWriterFormat hdf5_master_format_version = FileWriterFormat::NXmxLegacy;
|
|
bool overwrite_files = false;
|
|
public:
|
|
FileWriterSettings &OverwriteExistingFiles(bool input);
|
|
FileWriterSettings &HDF5MasterFormatVersion(FileWriterFormat input);
|
|
|
|
FileWriterFormat GetHDF5MasterFormatVersion() const;
|
|
bool IsOverwriteExistingFiles() const;
|
|
};
|
|
|
|
|
|
#endif //JFJOCH_FILEWRITERSETTINGS_H
|