mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-30 23:52:22 +02:00
Small naming improvements
This commit is contained in:
+2
-2
@@ -8,8 +8,8 @@
|
||||
using namespace std;
|
||||
namespace pt = boost::property_tree;
|
||||
|
||||
HeaderDataType::HeaderDataType(const std::string& type, size_t value_shape) :
|
||||
type(type), value_shape(value_shape), endianness("little") {
|
||||
HeaderDataType::HeaderDataType(const std::string& type, size_t shape) :
|
||||
type(type), value_shape(shape), endianness("little") {
|
||||
value_bytes_size = get_type_byte_size(type);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ struct HeaderDataType
|
||||
std::string endianness;
|
||||
size_t value_bytes_size;
|
||||
|
||||
HeaderDataType(const std::string& type, size_t n_values);
|
||||
HeaderDataType(const std::string& type, size_t shape);
|
||||
};
|
||||
|
||||
size_t get_type_byte_size(const std::string& type);
|
||||
|
||||
Reference in New Issue
Block a user