Chunked writer returns reference to file

This commit is contained in:
2018-01-17 08:59:12 +01:00
parent 3558ff5cf9
commit 4ee845de53
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
}
+1 -1
View 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