diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-06-09 18:43:07 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-06-09 18:43:07 (GMT) |
commit | fd02ea947d310d0d818ba24bc218caf0846e546f (patch) | |
tree | fd208018b4c63e69542c0f83656d1247f9577b58 /tools/h5dump.c | |
parent | bbe6a75cd06c497c9641f897b6251eff88421a09 (diff) | |
download | hdf5-fd02ea947d310d0d818ba24bc218caf0846e546f.zip hdf5-fd02ea947d310d0d818ba24bc218caf0846e546f.tar.gz hdf5-fd02ea947d310d0d818ba24bc218caf0846e546f.tar.bz2 |
[svn-r1321]
added some support for the object references. uses robb's h5dump_sprint to
print out the info
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r-- | tools/h5dump.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c index f50f487..5af3327 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -317,7 +317,9 @@ H5G_stat_t statbuf; } break; - + case H5T_REFERENCE: + printf("H5T_REFERENCE"); + break; default: printf( "unknown data type"); status = 1; @@ -471,7 +473,7 @@ hid_t attr_id, type, space; if (display_data) dump_data(attr_id, ATTRIBUTE_DATA); H5Tclose(type); H5Sclose(space); - H5Aclose (attr_id); + H5Aclose (attr_id); indentation (indent); end_obj(); @@ -929,6 +931,9 @@ hid_t type, space; case H5T_COMPOUND: dump_data(did, DATASET_DATA); break; + case H5T_REFERENCE: + dump_data(did, DATASET_DATA); + break; default: break; } |