Yeah, actually. I was unaware of that particular call. That said, that
function is obviously limited to data types and operates on buffers,
rather than on streams. At least for the debugging use case, having the
output go to a stream would be more useful, IMO, thereby eliminating the
overhead of having to allocate and free a temporary buffer.
For now I'll try to remember that function exists should the need come
up again.
On 07/26/2012 02:05 PM, Elena Pourmal wrote:
John,
Do you think this High-Level function H5LTdtype_to_text would help?
See http://www.hdfgroup.org/HDF5/doc/HL/RM_H5LT.html#H5LTdtype_to_text ?
Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal The HDF Group http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Jul 26, 2012, at 1:19 PM, John K wrote:
It occurs to me that the h5dump program does a lot of stuff that
would be really useful to have in library code. As an example, I was
running into a problem today that I suspected was due to a type
definition that was in use incorrectly. I was ultimately able to
confirm my suspicion by reading code, but during that search I
thought it'd be really handy to have a function that I could use to
dump out the structure of the data type to some output stream or other.
h5dump already does what I was interested in, but it's not library
code and would be difficult to integrate into my program to look at
the definition of a type that's only defined in memory.
Anyway, I thought it'd be super useful to have some of this code in
h5dump moved into a high level library for debugging (or other) purposes.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected] <mailto:[email protected]>
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org