I placed the configuration of dataset creation properties to a
separate method (see example below).
hsize_t chunk_dims[2] is a temporary which cases to exist when the
method is completed.
I use chunk_dims to set the chunk dimension.
H5Pset_chunk(dscreateProperties_, RANK_, chunk_dims );
Is this OK that chunk_dims is a temporary or should chunk_dims exist
until I call H5Pclose(dscreateProperties_)?
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.
I placed the configuration of dataset creation properties to a
separate method (see example below).
hsize_t chunk_dims[2] is a temporary which cases to exist when the
method is completed.
I use chunk_dims to set the chunk dimension.
H5Pset_chunk(dscreateProperties_, RANK_, chunk_dims );
Is this OK that chunk_dims is a temporary or should chunk_dims exist
until I call H5Pclose(dscreateProperties_)?
Yes, this is fine - the property list makes a copy of any parameters set for a property.
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.