On Jun 14, 2016, at 1:42 PM, hdf-forum-request@lists.hdfgroup.org wrote:
Send Hdf-forum mailing list submissions to
hdf-forum@lists.hdfgroup.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
or, via email, send a message with subject or body 'help' to
hdf-forum-request@lists.hdfgroup.org
You can reach the person managing the list at
hdf-forum-owner@lists.hdfgroup.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Hdf-forum digest..."
Today's Topics:
1. getting the location ID of an object (Dimos Stamatakis)
2. Re: getting the location ID of an object (Mohamad Chaarawi)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Jun 2016 13:03:33 -0400
From: Dimos Stamatakis <dimstamat@gmail.com>
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] getting the location ID of an object
Message-ID: <25ADAB6F-5B79-424A-9D69-62137E17CCED@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Thanks Mohamad! However, I would need the same location ID, not an new one. For example, how does the native find the location ID of the containing group so that to pass it to the apply callback op (H5A_operator2_t op)?
Thanks,
Dimos
---
Dimokritos Stamatakis
PhD student,
Brandeis University
On Jun 14, 2016, at 1:00 PM, hdf-forum-request@lists.hdfgroup.org wrote:
Send Hdf-forum mailing list submissions to
hdf-forum@lists.hdfgroup.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
or, via email, send a message with subject or body 'help' to
hdf-forum-request@lists.hdfgroup.org
You can reach the person managing the list at
hdf-forum-owner@lists.hdfgroup.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Hdf-forum digest..."
Today's Topics:
1. Re: getting the location ID of an object (Mohamad Chaarawi)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Jun 2016 15:56:56 +0000
From: Mohamad Chaarawi <chaarawi@hdfgroup.org>
To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
Subject: Re: [Hdf-forum] getting the location ID of an object
Message-ID: <2CBBE8D5-A95A-49EE-B315-1EF05D8AEC85@hdfgroup.org>
Content-Type: text/plain; charset="utf-8"
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 <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Dimos Stamatakis <dimstamat@gmail.com>
Reply-To: hdf-forum <hdf-forum@lists.hdfgroup.org>
Date: Tuesday, June 14, 2016 at 10:24 AM
To: hdf-forum <hdf-forum@lists.hdfgroup.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20160614/b0e6f104/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
------------------------------
End of Hdf-forum Digest, Vol 84, Issue 13
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20160614/7bae08a4/attachment-0001.html>
------------------------------
Message: 2
Date: Tue, 14 Jun 2016 17:41:20 +0000
From: Mohamad Chaarawi <chaarawi@hdfgroup.org>
To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
Subject: Re: [Hdf-forum] getting the location ID of an object
Message-ID: <82A068B3-B4C0-4608-82E1-8F73FDC99185@hdfgroup.org>
Content-Type: text/plain; charset="utf-8"
Hmm why do you need the same ID?
The ID is just a token that will dereference to the same object.
There is no requirement that the ID be the same.
Mohamad
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Dimos Stamatakis <dimstamat@gmail.com>
Reply-To: hdf-forum <hdf-forum@lists.hdfgroup.org>
Date: Tuesday, June 14, 2016 at 12:03 PM
To: hdf-forum <hdf-forum@lists.hdfgroup.org>
Subject: [Hdf-forum] getting the location ID of an object
Thanks Mohamad! However, I would need the same location ID, not an new one. For example, how does the native find the location ID of the containing group so that to pass it to the apply callback op (H5A_operator2_t op)?
Thanks,
Dimos
---
Dimokritos Stamatakis
PhD student,
Brandeis University
On Jun 14, 2016, at 1:00 PM, hdf-forum-request@lists.hdfgroup.org<mailto:hdf-forum-request@lists.hdfgroup.org> wrote:
Send Hdf-forum mailing list submissions to
hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
or, via email, send a message with subject or body 'help' to
hdf-forum-request@lists.hdfgroup.org
You can reach the person managing the list at
hdf-forum-owner@lists.hdfgroup.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Hdf-forum digest..."
Today's Topics:
1. Re: getting the location ID of an object (Mohamad Chaarawi)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Jun 2016 15:56:56 +0000
From: Mohamad Chaarawi <chaarawi@hdfgroup.org>
To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
Subject: Re: [Hdf-forum] getting the location ID of an object
Message-ID: <2CBBE8D5-A95A-49EE-B315-1EF05D8AEC85@hdfgroup.org>
Content-Type: text/plain; charset="utf-8"
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 <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Dimos Stamatakis <dimstamat@gmail.com>
Reply-To: hdf-forum <hdf-forum@lists.hdfgroup.org>
Date: Tuesday, June 14, 2016 at 10:24 AM
To: hdf-forum <hdf-forum@lists.hdfgroup.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20160614/b0e6f104/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
------------------------------
End of Hdf-forum Digest, Vol 84, Issue 13
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20160614/3139c31c/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
------------------------------
End of Hdf-forum Digest, Vol 84, Issue 14
*****************************************