h5cpp
0.5.0
A modern C++ wrapper for the HDF5 C library
|
Go to the documentation of this file.
10 class TypeTrait<std::vector<T>> {
12 using Type = std::vector<T>;
15 return TypeTrait<typename std::remove_const<T>::type>
::create();
40 static void *
ptr(std::vector<T> &data) {
41 return reinterpret_cast<void *
>(data.data());
44 static const void *
cptr(
const std::vector<T> &data) {
45 return reinterpret_cast<const void *
>(data.data());
Type
Definition: type.hpp:43
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 Simple create(const std::vector< T > &value)
Definition: vector.hpp:32
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
static const void * cptr(const std::vector< T > &data)
Definition: vector.hpp:44
std::vector< hsize_t > Dimensions
Definition: types.hpp:32
const Simple & getSimple(size_t size)
reference of Simple data spaces
dataspace base class
Definition: dataspace.hpp:41
static const Dataspace & get(const std::vector< T > &value, DataspacePool &pool)
Definition: vector.hpp:36
static void * ptr(std::vector< T > &data)
Definition: vector.hpp:40
data space object pool
Definition: pool.hpp:41
top-level namespace of the entire library
Definition: attribute.hpp:45