Hi Josiah,

You've just found a bug in the C++ API.  The issue will be filed and fixed in 
the next release.  At this time, please use the approach that you originally 
used.  I apologized for giving you incorrect information earlier.


Binh-Minh


________________________________
From: Hdf-forum <[email protected]> on behalf of Josiah 
Slack <[email protected]>
Sent: Monday, December 09, 2013 12:35 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] CompType equivalent to H5Tset_size

I get a compiler error when I try to use it - I've looked through the source, 
and as far as I can see, H5::AtomType is the only subclass of DataType that 
implements setSize().

-Josiah


On Mon, Dec 9, 2013 at 11:41 AM, Binh-Minh Ribler 
<[email protected]<mailto:[email protected]>> wrote:

Hi Josiah,


You can use setSize() in the C++ API, e.g. <yourtype_instance>.setSize(...)


Please let us know if you have any problem.

Binh-Minh


________________________________
From: Hdf-forum 
<[email protected]<mailto:[email protected]>>
 on behalf of Josiah Slack <[email protected]<mailto:[email protected]>>
Sent: Monday, December 09, 2013 10:39 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] CompType equivalent to H5Tset_size

Hi folks -
I've got a working prototype using the HDF5 C API, and am now looking at using 
the C++ bindings.  There are a few places in my code where I need to use 
H5Tset_size. I'm currently resorting to calling it, and using CompType::getId() 
for its first argument. Is there any other way of accomplishing this?

Thanks for your attention.

-Josiah Slack

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]<mailto:[email protected]>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to