diff --git a/include/hdf5libs/HDF5RawDataFile.hpp b/include/hdf5libs/HDF5RawDataFile.hpp index 47561c7..20d7252 100644 --- a/include/hdf5libs/HDF5RawDataFile.hpp +++ b/include/hdf5libs/HDF5RawDataFile.hpp @@ -506,11 +506,6 @@ HDF5RawDataFile::write_attribute(HighFive::DataSet& dset, const std::string& nam ers::warning(HDF5AttributeExists(ERS_HERE, name)); } -std::vector HDF5RawDataFile::get_attribute_names() -{ - return m_file_ptr->listAttributeNames(); -} - template T HDF5RawDataFile::get_attribute(const std::string& name) diff --git a/src/HDF5RawDataFile.cpp b/src/HDF5RawDataFile.cpp index 566a434..f6c6309 100644 --- a/src/HDF5RawDataFile.cpp +++ b/src/HDF5RawDataFile.cpp @@ -103,6 +103,15 @@ HDF5RawDataFile::~HDF5RawDataFile() m_file_layout_ptr.reset(); } +/** + * @brief Fetch the list of all file-level Attribute names. + */ +std::vector +HDF5RawDataFile::HDF5RawDataFile::get_attribute_names() +{ + return m_file_ptr->listAttributeNames(); +} + /** * @brief Write a TriggerRecord to the file. */