mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 13:14:15 +02:00
Add option for empty root
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ class H5Format
|
||||
|
||||
virtual const std::unordered_map<std::string, boost::any>& get_default_values() const = 0;
|
||||
|
||||
virtual const h5_group& get_format_definition() const = 0;
|
||||
virtual const h5_parent& get_format_definition() const = 0;
|
||||
|
||||
virtual void add_calculated_values(std::unordered_map<std::string, boost::any>& values) const = 0;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class NXmxFormat : public H5Format
|
||||
shared_ptr<unordered_map<string, DATA_TYPE>> input_value_type = NULL;
|
||||
shared_ptr<unordered_map<string, boost::any>> default_values = NULL;
|
||||
shared_ptr<unordered_map<string, std::string>> dataset_move_mapping = NULL;
|
||||
shared_ptr<h5_group> file_format = NULL;
|
||||
shared_ptr<h5_parent> file_format = NULL;
|
||||
|
||||
public:
|
||||
~NXmxFormat(){};
|
||||
@@ -904,7 +904,7 @@ class NXmxFormat : public H5Format
|
||||
}));
|
||||
}
|
||||
|
||||
const h5_group& get_format_definition() const override {
|
||||
const h5_parent& get_format_definition() const override {
|
||||
return *file_format;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user