summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-17 18:35:30 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-17 18:35:30 (GMT)
commit6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e (patch)
treeeaf5cbb8fddf298a55cf87839bbd51e3d8e4b07b /tools/h5dump.c
parent82cd7cca30d82e5b68ff8e9d2e10335d89ad9884 (diff)
downloadhdf5-6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e.zip
hdf5-6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e.tar.gz
hdf5-6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e.tar.bz2
[svn-r1973] fixed the dataset regions problem with the dumper.
now the dump structure contains 2 extra members that tell how to format the data for the dataset regions(blocks and pts). had to give h5ls values for these
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r--tools/h5dump.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index f493e69..d3f5699 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1096,6 +1096,13 @@ dump_data (hid_t obj_id, int obj_data) {
info.obj_hidefileno = 1;
info.obj_format = " %lu:%lu";
+
+ info.dset_hidefileno = 1;
+ info.dset_format = "DATASET %lu:%lu ";
+ info.dset_blockformat_pre = "%s";
+ info.dset_ptformat_pre = "%s";
+
+
indent += COL;
/*the depth will tell us how far we need to indent extra. we use to just
use indent but with the merging of the tools lib we have to do something different