Add H5Lvisit_by_name() API routine to library.
Eliminated all (five!) other group traversal routines and changed them
all to use the new API routine.
Cleaned up output of h5ls & h5stat:
- Issue error when requesting recursive traversal of a file
with the "group info" flag, but no group given
- Print info about root group in all(?) appropriate situations
- Don't print "verbose" information about root group until the
root group is in the list of objects to display
(mostly because h5ls & h5stat had a different twist on traversing the
groups in a file that the other utilities)
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
15 lines
531 B
Plaintext
15 lines
531 B
Plaintext
#############################
|
|
output for 'h5ls -w80 -r -d tvldtypes1.h5'
|
|
#############################
|
|
/ Group
|
|
/Dataset1.0 Dataset {4}
|
|
Data:
|
|
(0) (0), (10,11), (20,21,22), (30,31,32,33)
|
|
/Dataset2.0 Dataset {4}
|
|
Data:
|
|
(0) (0), (10,10.1), (20,20.1,20.2), (30,30.1,30.2,30.3)
|
|
/Dataset3.0 Dataset {SCALAR}
|
|
Data:
|
|
(0) (0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,
|
|
(0) 46,48,50,52,54,56,58,60,62,64,66,68,70,72)
|