Hello, The combination of some of these functions might do what you want:
getNumObjs, then getObjTypeByIdx getObjnameByIdx getObjinfo or iterateElems. Some of these require H5_NO_DEPRECATED_SYMBOLS not defined. Binh-Minh >-----Original Message----- >From: Hdf-forum [mailto:[email protected]] On Behalf Of >[email protected] >Sent: Tuesday, December 25, 2012 9:30 AM >To: HDF Users Discussion List >Subject: [Hdf-forum] How to use HDF5 C++ wrapper to scan HDF5 tree?? > >Dear all > >I wrote a simulation program and used HDF5 to export simulation results. >However, the names of groups and datasets in dumped file may be >different due to different simulation setting. >I am now using C++ to write post-processing program and what I need is >some API in HDF5 C++ wrapper I can call to scan the entire file tree >or part of the tree (under certain group).In this way I can find out >exactly how many groups and datasets in certain dumped file. Is there >such function in HDF5 C++ wrapper? > >Best regard > > >_______________________________________________ >Hdf-forum is for HDF software users discussion. >[email protected] >http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > >-- >Internal Virus Database is out-of-date. >Checked by AVG. >Version: 7.5.549 / Virus Database: 270.9.0/1778 - Release Date: 11/9/2008 >2:14 PM _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
