|
ATLAS Offline Software
|
Go to the documentation of this file.
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);
68 H5::H5Location& targetLocation,
69 const H5::DataSet&
source)
override;
85 #endif //> !HDF5Utils_DefaultMerger_H
Group
Properties of a chain group.
hsize_t m_mergeAxis
The axis to merge along.
DefaultMerger(hsize_t mergeAxis=0, int chunkSize=-1, bool requireSameFormat=true, std::size_t bufferSize=-1, bool bufferInRows=false)
Create the merger.
int m_chunkSize
The chunk size to apply.
std::size_t m_bufferSize
The size of the buffer.
virtual H5::Group createFrom(H5::H5Location &targetLocation, const H5::Group &source)
Make a new group from information in a source group.
void merge(H5::Group &target, const H5::Group &source) override
Merge a source group into a target group.
bool m_requireSameFormat
Whether to require the same group structure.
bool m_measureBufferInRows
Whether to measure the buffer in bytes or rows.
H5::DataSet createFrom(H5::H5Location &targetLocation, const H5::DataSet &source) override
Make a new dataset from information in a source dataset.
virtual void merge(H5::H5File &target, const H5::H5File &source)
Merge a source file into a target file.