mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
fb53598b36
the header information in the dumper. the header is the part before the data block. in h5dump.c there is support for the new -xml option. prints the output in xml using the structure we just defined in h5tools.h. h5dump.h- changed the begin_obj and end_obj macros. take an extra parameter now
17 lines
285 B
C
17 lines
285 B
C
#ifndef _H5DUMP_H
|
|
#define _H5DUMP_H
|
|
|
|
#include <hdf5.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define H5DUMP_MAX_RANK H5S_MAX_RANK
|
|
|
|
#define begin_obj(obj,name, begin) if (name) printf("%s \"%s\" %s\n", obj, name, begin); else printf("%s %s\n",obj,begin);
|
|
#define end_obj(obj, end) printf("%s %s\n", end,obj);
|
|
|
|
|
|
#endif
|