mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 23:10:44 +02:00
Chunked writer returns reference to file
This commit is contained in:
@@ -187,6 +187,6 @@ hsize_t HDF5ChunkedWriter::prepare_storage_for_frame(size_t frame_index, size_t*
|
||||
return relative_frame_index;
|
||||
}
|
||||
|
||||
void HDF5ChunkedWriter::write_format(h5_group& format_root, std::map<std::string, h5_value>& values) {
|
||||
h5_utils::write_format_data(file, format_root, values);
|
||||
H5::H5File& HDF5ChunkedWriter::get_h5_file() {
|
||||
return file;
|
||||
}
|
||||
@@ -36,7 +36,7 @@ class HDF5ChunkedWriter
|
||||
~HDF5ChunkedWriter();
|
||||
void close_file();
|
||||
void write_data(size_t frame_index, size_t* frame_shape, size_t data_bytes_size, char* data);
|
||||
void write_format(h5_group& format_root, std::map<std::string, h5_value>& values);
|
||||
H5::H5File& get_h5_file();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user