mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 12:44:14 +02:00
Return dataset type as constant reference
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ const boost::any& H5FormatUtils::get_value_from_reference(const string& dataset_
|
||||
}
|
||||
}
|
||||
|
||||
H5::PredType H5FormatUtils::get_dataset_data_type(const string& type)
|
||||
const H5::PredType& H5FormatUtils::get_dataset_data_type(const string& type)
|
||||
{
|
||||
#ifdef DEBUG_OUTPUT
|
||||
cout << "[H5FormatUtils::get_dataset_data_type] Getting dataset type for received frame type " << type << endl;
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ namespace H5FormatUtils
|
||||
void compact_dataset(H5::DataSet& dataset, hsize_t max_frame_index);
|
||||
|
||||
H5::Group create_group(H5::Group& target, const std::string& name);
|
||||
H5::PredType get_dataset_data_type(const std::string& type);
|
||||
const H5::PredType& get_dataset_data_type(const std::string& type);
|
||||
|
||||
H5::DataSet write_dataset(H5::Group& target, const h5_dataset& dataset, const std::map<std::string, boost::any>& values);
|
||||
H5::DataSet write_dataset(H5::Group& target, const std::string& name, double value);
|
||||
|
||||
Reference in New Issue
Block a user