In attempt to apply the C++ wrapper API I'm not finding a way to set the link creation order on a C++ group object because of how it is contructed. Is there a way?
The c way is
gcpl = H5Pcreate(H5P_GROUP_CREATE);
herr_t err = H5Pset_link_creation_order(gcpl, H5P_CRT_ORDER_TRACKED |
H5P_CRT_ORDER_INDEXED);
The C++ API doesn't have this function yet, but for a workaround, you can call the C functions directly and use PropList::setId() or PropList constructor that takes an existing hid_t to make your gcpl object.
I hope this helps.
Binh-Minh
···
________________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Roger Martin <roger@quantumbioinc.com>
Sent: Wednesday, April 30, 2014 9:31 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] C++ API and link creation order
Hi,
In attempt to apply the C++ wrapper API I'm not finding a way to set the
link creation order on a C++ group object because of how it is
contructed. Is there a way?
The c way is
gcpl = H5Pcreate(H5P_GROUP_CREATE);
herr_t err = H5Pset_link_creation_order(gcpl,
H5P_CRT_ORDER_TRACKED |
H5P_CRT_ORDER_INDEXED);
Oh thanks! that does help; didn't know it would mix/retain that way
···
On 04/30/2014 09:47 AM, Binh-Minh Ribler wrote:
Hi Roger,
The C++ API doesn't have this function yet, but for a workaround, you can call the C functions directly and use PropList::setId() or PropList constructor that takes an existing hid_t to make your gcpl object.
I hope this helps.
Binh-Minh
________________________________________
From: Hdf-forum<hdf-forum-bounces@lists.hdfgroup.org> on behalf of Roger Martin<roger@quantumbioinc.com>
Sent: Wednesday, April 30, 2014 9:31 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] C++ API and link creation order
Hi,
In attempt to apply the C++ wrapper API I'm not finding a way to set the
link creation order on a C++ group object because of how it is
contructed. Is there a way?
The c way is
gcpl = H5Pcreate(H5P_GROUP_CREATE);
herr_t err = H5Pset_link_creation_order(gcpl,
H5P_CRT_ORDER_TRACKED |
H5P_CRT_ORDER_INDEXED);
________________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Roger Martin <roger@quantumbioinc.com>
Sent: Wednesday, April 30, 2014 9:55 AM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] C++ API and link creation order
Oh thanks! that does help; didn't know it would mix/retain that way
On 04/30/2014 09:47 AM, Binh-Minh Ribler wrote:
Hi Roger,
The C++ API doesn't have this function yet, but for a workaround, you can call the C functions directly and use PropList::setId() or PropList constructor that takes an existing hid_t to make your gcpl object.
I hope this helps.
Binh-Minh
________________________________________
From: Hdf-forum<hdf-forum-bounces@lists.hdfgroup.org> on behalf of Roger Martin<roger@quantumbioinc.com>
Sent: Wednesday, April 30, 2014 9:31 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] C++ API and link creation order
Hi,
In attempt to apply the C++ wrapper API I'm not finding a way to set the
link creation order on a C++ group object because of how it is
contructed. Is there a way?
The c way is
gcpl = H5Pcreate(H5P_GROUP_CREATE);
herr_t err = H5Pset_link_creation_order(gcpl,
H5P_CRT_ORDER_TRACKED |
H5P_CRT_ORDER_INDEXED);