24 #ifndef COLTYPEDIMARRAY_H 25 #define COLTYPEDIMARRAY_H 27 #include "splash/CollectionType.hpp" 28 #include "splash/Dimensions.hpp" 39 const hsize_t dim[] = {DSP_DIM_MAX};
40 this->type = H5Tarray_create(H5T_NATIVE_HSIZE, 1, dim);
50 return sizeof (hsize_t) * 3;
56 H5T_class_t h5_class = H5Tget_class(datatype_id);
57 if(h5_class == H5T_ARRAY)
59 hid_t base = H5Tget_super(datatype_id);
60 if(H5Tequal(base, H5T_NATIVE_HSIZE) == 1)
62 if(H5Tget_array_ndims(datatype_id) == 1)
65 H5Tget_array_dims(datatype_id, adims_out);
std::string toString() const