Moved common operations to h5_utils

This commit is contained in:
2018-01-16 16:30:38 +01:00
parent 7b41a743c8
commit 9a486a0dd6
3 changed files with 46 additions and 43 deletions
+3
View File
@@ -66,6 +66,9 @@ struct h5_attr : public h5_base, public h5_data_base {
};
namespace h5_utils{
hsize_t expand_dataset(const H5::DataSet& dataset, hsize_t frame_index, hsize_t dataset_increase_step);
void compact_dataset(const H5::DataSet& dataset, hsize_t max_frame_index);
H5::Group create_group(H5::CommonFG& target, std::string name);
H5::DataSet write_dataset(H5::Group& target, h5_dataset& dataset, std::map<std::string, boost::any>& values);