You can’t get the location id, but you can create one yourself using:
H5VLobject_register() if external plugin
Or H5VL_object_register() if internal plugin.

Thanks,
Mohamad

From: Hdf-forum <[email protected]> on behalf of Dimos 
Stamatakis <[email protected]>
Reply-To: hdf-forum <[email protected]>
Date: Tuesday, June 14, 2016 at 10:24 AM
To: hdf-forum <[email protected]>
Subject: [Hdf-forum] getting the location ID of an object

Hello,

is there a way to get the location ID of an object given the object itself, or 
maybe from the location parameters? (H5VL_loc_params_t).
For example, if we want to iterate over the attributes of group "mygroup", we 
call H5Aiterate2 and we pass the location ID of mygroup. Then, within the 
attr_specific function we get the group itself (void* obj) and not its location 
ID. Is there a way to get the location ID somehow? It is required for passing 
it to the apply function.

Thanks,

Dimos
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to