5#ifndef HDF5Utils_DefaultMerger_H
6#define HDF5Utils_DefaultMerger_H
36 hsize_t mergeAxis = 0,
38 bool requireSameFormat =
true,
39 std::size_t bufferSize = -1,
40 bool bufferInRows =
false);
52 void merge(H5::Group& target,
const H5::Group& source)
override;
59 void merge(H5::DataSet& target,
const H5::DataSet& source)
override;
68 H5::H5Location& targetLocation,
69 const H5::DataSet& source)
override;
hsize_t m_mergeAxis
The axis to merge along.
H5::DataSet createFrom(H5::H5Location &targetLocation, const H5::DataSet &source) override
Make a new dataset from information in a source dataset.
int m_chunkSize
The chunk size to apply.
DefaultMerger(hsize_t mergeAxis=0, int chunkSize=-1, bool requireSameFormat=true, std::size_t bufferSize=-1, bool bufferInRows=false)
Create the merger.
std::size_t m_bufferSize
The size of the buffer.
bool m_measureBufferInRows
Whether to measure the buffer in bytes or rows.
bool m_requireSameFormat
Whether to require the same group structure.
virtual void merge(H5::H5File &target, const H5::H5File &source)
Merge a source file into a target file.
virtual H5::Group createFrom(H5::H5Location &targetLocation, const H5::Group &source)
Make a new group from information in a source group.