summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.h
diff options
context:
space:
mode:
authorRuey-Hsia Li <rli@ncsa.uiuc.edu>1998-12-21 22:45:01 (GMT)
committerRuey-Hsia Li <rli@ncsa.uiuc.edu>1998-12-21 22:45:01 (GMT)
commitee9cac2af920182455f1985a79ac4745dca9a3c9 (patch)
tree72a02610e8fedfcd00fbd042506291372c3211d1 /tools/h5dump.h
parent38309fb3f68ad3fd6bb07da6f6d4d1be1a146855 (diff)
downloadhdf5-ee9cac2af920182455f1985a79ac4745dca9a3c9.zip
hdf5-ee9cac2af920182455f1985a79ac4745dca9a3c9.tar.gz
hdf5-ee9cac2af920182455f1985a79ac4745dca9a3c9.tar.bz2
[svn-r983] Added tests in testh5dump.sh.
Features of this version of dumper * loop detection * data type ** atomic type -> H5T_INTEGER (H5T_STD_XXXXX) -> H5T_FLOAT (H5T_IEEE_XXXXX) -> H5T_STRING (H5T_C_S1, H5T_FORTRAN_S1) ** committed/transient/unamed compound type * data space ** scalar space ** simple space * dataset dumper can display dataset's ** attribute ** type ** space ** data * group dumper can display group attributes and group members which include ** named/unamed data type ** group ** dataset ** softlink * attribute dumper can display attribute's ** type ** space ** data * hard link * soft link * format of data ** fit on 80 columns ** end of line after each row (more work will be done on data.)
Diffstat (limited to 'tools/h5dump.h')
-rw-r--r--tools/h5dump.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/h5dump.h b/tools/h5dump.h
index 02b3166..0a55508 100644
--- a/tools/h5dump.h
+++ b/tools/h5dump.h
@@ -10,8 +10,9 @@
#define DATATYPE "DATATYPE"
#define DATASPACE "DATASPACE"
#define DATA "DATA"
-#define ARRAY "ARRAY"
-#define OTHER "OTHER"
+#define SCALAR "SCALAR"
+#define SIMPLE "SIMPLE"
+#define COMPLEX "COMPLEX"
#define STORAGELAYOUT "STORAGELAYOUT"
#define COMPRESSION "COMPRESSION"
#define EXTERNAL "EXTERNAL"
@@ -20,6 +21,10 @@
#define NLINK "NLINK"
#define FILENO "FILENO"
#define OBJNO "OBJNO"
+#define STRSIZE "STRSIZE"
+#define STRPAD "STRPAD"
+#define CSET "CSET"
+#define CTYPE "CTYPE"
#define BEGIN "{"
#define END "}"
@@ -27,7 +32,7 @@
#define ATTRIBUTE_DATA 0
#define DATASET_DATA 1
-#define H5DUMP_MAX_NDIMS 64
+#define H5DUMP_MAX_RANK H5S_MAX_RANK
#define begin_obj(obj,name) printf("%s \"%s\" %s\n", obj, name, BEGIN)
#define end_obj() printf("%s\n", END);