mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
2f51e3c16a
New Feature Description: Changed the command line flags in the h5dumper so that they accept both short and long flags. The flag syntax for some have changed (I.e., object ids are no longer -v but -i and -header is now -H or --header, etc.) A new function is added called get_options which can be used for all other tools as well. Had to change these output files to accept the correct flags. Platforms tested: Linux
18 lines
509 B
SQL
18 lines
509 B
SQL
#############################
|
|
Expected output for 'h5dump -t /type1 --datatype /type2 --datatype=/group1/type3 tcompound.h5'
|
|
#############################
|
|
HDF5 "tcompound.h5" {
|
|
DATATYPE "/type1" H5T_COMPOUND {
|
|
H5T_STD_I32BE "int_name";
|
|
H5T_IEEE_F32BE "float_name";
|
|
}
|
|
DATATYPE "/type2" H5T_COMPOUND {
|
|
H5T_ARRAY { [4] H5T_STD_I32BE } "int_array";
|
|
H5T_ARRAY { [5][6] H5T_IEEE_F32BE } "float_array";
|
|
}
|
|
DATATYPE "/group1/type3" H5T_COMPOUND {
|
|
H5T_STD_I32BE "int";
|
|
H5T_IEEE_F32BE "float";
|
|
}
|
|
}
|