When working with C API of HDF5 library, it is possible to create a property list for the intermediate group creation property like below and use it in other functions:
// enabling group creation with full qualified names
hid_t prop_list = H5Pcreate(H5P_LINK_CREATE);
H5Pset_create_intermediate_group(prop_list , 1);
// ....
H5Dcreate(file, datasetName, dataType, dataSpace, prop_list);
I am trying to do the same with C++ API like this:
DSetCreatPropList prop_list;
prop_list.setProperty("", ""); // what to do here?
// ...
file.createDataSet(datasetName, dataType, dataSpace, prop_list);
How I should initialize prop_list
here in C++ API?
question from:
https://stackoverflow.com/questions/65850305/how-to-enable-the-h5p-set-create-intermediate-group-property-in-c-api-of-hdf5 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…