Any function to check file/Group/dataset/ exists like H5Aexist?

Hi all,

     I just feel that it is not conveient to check if a dataset/file/group exist,
Is there any functions liker H5Aexist.
     I once found somebody already asked the similar questions in the forum, sorry to bother again.
   
Thanks in advance.
tony.

Hi Tony,

···

On Sep 10, 2009, at 6:19 AM, tony wrote:

Hi all,

     I just feel that it is not conveient to check if a dataset/file/group exist,
Is there any functions liker H5Aexist.
     I once found somebody already asked the similar questions in the forum, sorry to bother again.

  You probably want the H5Lexists() routine to check if a link with a particular name (to a dataset, group, etc) exists in a group. Checking if a file exists is outside the scope of the HDF5 library and can be coded with basic system calls (like stat(2)).

  Quincey