h5cpp
0.5.0
A modern C++ wrapper for the HDF5 C library
|
Go to the documentation of this file.
11 template<
typename T,
size_t N>
12 class TypeTrait<std::array<T, N>> {
14 using Type = std::array<T, N>;
17 return TypeTrait<typename std::remove_const<T>::type>
::create();
20 const static TypeClass & cref_ = TypeTrait<typename std::remove_const<T>::type>
::create();
28 template<
typename T,
size_t N>
42 static void *
ptr(std::array<T, N> &value) {
43 return reinterpret_cast<void *
>(value.data());
46 static const void *
cptr(
const std::array<T, N> &value) {
47 return reinterpret_cast<const void *
>(value.data());
Type
Definition: type.hpp:43
static const void * cptr(const std::array< T, N > &value)
Definition: array.hpp:46
type trait for dataspace construction
Definition: type_trait.hpp:54
static TypeClass create(const T &=T())
create the new type instance
simple multidimensional dataspace
Definition: simple.hpp:43
static DataspaceType create(const std::array< T, N > &)
Definition: array.hpp:33
Datatype TypeClass
subtype of Datatype which will be used
Definition: type_trait.hpp:58
const static TypeClass & get(const T &=T())
reference to const static type instance
std::vector< hsize_t > Dimensions
Definition: types.hpp:32
static void * ptr(std::array< T, N > &value)
Definition: array.hpp:42
const static DataspaceType & get(const std::array< T, N > &, DataspacePool &)
Definition: array.hpp:37
data space object pool
Definition: pool.hpp:41
top-level namespace of the entire library
Definition: attribute.hpp:45