Hi Richard,
On Wed, Oct 13, 2010 at 09:42:40AM +1100, Richard Khoury wrote:
> My understanding is that the creation of an objects within a group
> (such as another group or dataset) is inherently creating a hard
> link from that group to the other object. So if you passed in that
> group or dataset name as the "link name" argument to the H5Lget_info
> function it should return H5L_TYPE_HARD, as you've stated.
>
> If, however, you've explicitly created a soft-link to another group
> using the H5Lcreate_soft function and passed _that_ name to the
> H5Lget_info function, the type would be listed as H5L_TYPE_SOFT.
> The following documentation helped clarify HDF5 links for me:
> http://www.hdfgroup.org/HDF5/doc/UG/UG_frame09Groups.html
Thank you, and yes, that clarifies a number of things. I laboured
under the mis-conception that only links created explictly via
H5Lcreate_*() would result in successful calls of H5Lget_link_info().
But then I am still a complete newbie to HDF5 and struggle with
the very basics;-)
> The following source code should clarify what I'm trying to say:
<code snipped for brevities sake>
I hope I understand now what's going on...
Thank you and best regards, Jens
--
\ Jens Thoms Toerring ________ [email protected]
\_______________________________ http://toerring.de
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org