Eugen, how are you? Yes, you can concoct something that is unique in the file scope using addresses, but I'd be hesitant to go down that path. I'd invest in a few UUIDs (call it whatever you want) attributes and not look back. They survive repacks and other machinations. True, for existing read-only files, you'd have to maintain a mapping on the side. Addresses are not your friends, if you know what I mean...
Best, G. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Wintersberger, Eugen Sent: Friday, August 17, 2012 8:28 AM To: [email protected] Subject: [Hdf-forum] Unique object identifier -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi folks I need to get a unique ID for each object in an HDF5 file (as the path to an object is not unique). As far as I know there is nothing like this in HDF5 out of the box. However, I have seen that one can retrieve the address of an object within the file. Can this address be used as a unique identifier? regards Eugen - -- - --------------------------------------- | DI. Dr. Eugen Wintersberger | | | | FS-EC | | HASYLAB at DESY | | Notkestr. 85 | | D-22607 Hamburg | | Germany | | | | E-Mail: [email protected] | | Telefon: +49-40-8998-1917 | - --------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAlAuRvMACgkQlIP0H82W0vCJTwD/Ze5+eaPKrinrNPGwRLGPYHJR 4k9fjAeymXEm6Q3D6skA/jzIKsqxqU5igtqlcK0Ouei8Ee02DtKBqgI/CSpEUizW =ktNR -----END PGP SIGNATURE----- _______________________________________________ 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
