summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-05-07 20:56:54 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-05-07 20:56:54 (GMT)
commit7c16aec7e1e7ba08b8845cf148fdc7935e84a211 (patch)
treed9583f35d601ce5dc9736f8b90424930a65dd57a /tools/h5dump/h5dump.h
parentae6f5891b5794325ee5702fec0da55bafdce1afe (diff)
downloadhdf5-7c16aec7e1e7ba08b8845cf148fdc7935e84a211.zip
hdf5-7c16aec7e1e7ba08b8845cf148fdc7935e84a211.tar.gz
hdf5-7c16aec7e1e7ba08b8845cf148fdc7935e84a211.tar.bz2
[svn-r18743] enhancement 1853:
Install packed-bits feature for h5dump. Allen has installed the feature in the NPOESS feature branch. I ported it back to the v1.8 branch for v1.8.5 release. tools/h5dump/testh5dump.sh.in: Added tests for the packed-bits feature. tools/h5dump/h5dump.c tools/h5dump/h5dump.h Added code to parse and handled the packed-bits request. tools/lib/h5tools.h tools/lib/h5tools_str.c tools/lib/h5tools.c Added code to print packed-bits. tools/testfiles/tpackedbits2.ddl tools/testfiles/tnofilename-with-packed-bits.ddl tools/testfiles/tpackedbits.ddl Expected output files for packed-bits feature. Tested: h5committested the NPOESS branch. Tested in the linux VM machine in my Dove.
Diffstat (limited to 'tools/h5dump/h5dump.h')
-rw-r--r--tools/h5dump/h5dump.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/h5dump/h5dump.h b/tools/h5dump/h5dump.h
index e16705c..3e34538 100644
--- a/tools/h5dump/h5dump.h
+++ b/tools/h5dump/h5dump.h
@@ -69,6 +69,11 @@
#define EXTERNAL_FILE "EXTERNAL_FILE"
#define FILLVALUE "FILLVALUE"
#define FILE_CONTENTS "FILE_CONTENTS"
+#ifdef H5_HAVE_H5DUMP_PACKED_BITS
+#define PACKED_BITS "PACKED_BITS"
+#define PACKED_OFFSET "OFFSET"
+#define PACKED_LENGTH "LENGTH"
+#endif
#define BEGIN "{"
#define END "}"