diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-05-04 17:05:09 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-05-04 17:05:09 (GMT) |
commit | 295fbf3b82d3ebfc9aefe5b90637159be4610401 (patch) | |
tree | 4c42cacc2c9f7f56f39bc8a459442db5a027dd98 /tools/h5dump.c | |
parent | 23af2ada84a47cdb5c3bfbd340f31f7e1539ae8b (diff) | |
download | hdf5-295fbf3b82d3ebfc9aefe5b90637159be4610401.zip hdf5-295fbf3b82d3ebfc9aefe5b90637159be4610401.tar.gz hdf5-295fbf3b82d3ebfc9aefe5b90637159be4610401.tar.bz2 |
[svn-r2214] added support for the opaque type.
prints out the data section in hexidecimal format.
in the h5dumptst.c i added a function to create an opaque test file.
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r-- | tools/h5dump.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c index 37b23e7..359be5e 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -431,7 +431,12 @@ H5G_stat_t statbuf; break; case H5T_OPAQUE: - printf( "H5T_OPAQUE: not yet implemented"); + printf( "\n"); + indentation (indent+COL); + printf("H5T_OPAQUE\n"); + indentation (indent+COL); + printf("OPAQUE_TAG \"%s\"\n", H5Tget_tag(type)); + indentation (indent); break; case H5T_COMPOUND: @@ -1119,10 +1124,10 @@ hid_t type, space; printf("DATA{ not yet implemented.}\n"); break; case H5T_OPAQUE: - indent += COL; + /* indent += COL; indentation (indent); - indent -= COL; - printf("DATA{ not yet implemented.}\n"); + indent -= COL;*/ + dump_data(did, DATASET_DATA); break; case H5T_COMPOUND: dump_data(did, DATASET_DATA); |