Line | Count | Source |
1 | ||
2 | #include "bag_deleteh5dataset.h" | |
3 | ||
4 | #include <H5Cpp.h> | |
5 | ||
6 | ||
7 | namespace BAG { | |
8 | ||
9 | //! A specialized deleter to avoid needing definitions of HDF5 classes in header | |
10 | //! files. | |
11 | /*! | |
12 | \param ptr | |
13 | A pointer to an HDF5 DataSet. | |
14 | */ | |
15 | void DeleteH5dataSet::operator()(::H5::DataSet* ptr) noexcept | |
16 | 118 | { |
17 | 118 | delete ptr; |
18 | 118 | } |
19 | ||
20 | } // namespace BAG | |
21 |