HighFive
2.10.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
H5Inspector_decl.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstddef>
4
#include <numeric>
5
#include <functional>
6
#include <vector>
7
8
namespace
HighFive
{
9
10
inline
size_t
compute_total_size
(
const
std::vector<size_t>& dims) {
11
return
std::accumulate(dims.begin(), dims.end(),
size_t
{1u}, std::multiplies<size_t>());
12
}
13
14
template
<
typename
T>
15
using
unqualified_t
=
typename
std::remove_const<typename std::remove_reference<T>::type>::type;
16
17
18
namespace
details {
19
20
template
<
typename
T>
21
struct
type_helper;
22
23
template
<
typename
T>
24
struct
inspector;
25
26
}
// namespace details
27
}
// namespace HighFive
HighFive
Definition
H5_definitions.hpp:22
HighFive::unqualified_t
typename std::remove_const< typename std::remove_reference< T >::type >::type unqualified_t
Definition
H5Inspector_decl.hpp:15
HighFive::compute_total_size
size_t compute_total_size(const std::vector< size_t > &dims)
Definition
H5Inspector_decl.hpp:10
highfive
bits
H5Inspector_decl.hpp
Generated by
1.10.0