diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-21 19:33:15 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-21 19:33:15 (GMT) |
commit | 75dad07518aed2dbb7bfd51dceb50e6d56f14b68 (patch) | |
tree | 9e61dec3213977bbad7242a0f7e422ee20388556 /tools/h5tools.h | |
parent | eee562600194bdb5955d57ce9a96b27b32d90dcc (diff) | |
download | hdf5-75dad07518aed2dbb7bfd51dceb50e6d56f14b68.zip hdf5-75dad07518aed2dbb7bfd51dceb50e6d56f14b68.tar.gz hdf5-75dad07518aed2dbb7bfd51dceb50e6d56f14b68.tar.bz2 |
[svn-r2987] Purpose:
Bug fixes and misc. code fixing.
Description:
Updated to reflect current DDL document. Also changed VL data to be able
to be able also dump VL data of any other datatype.
Platforms tested:
FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'tools/h5tools.h')
-rw-r--r-- | tools/h5tools.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h index c34547b..f133774 100644 --- a/tools/h5tools.h +++ b/tools/h5tools.h @@ -165,6 +165,28 @@ typedef struct h5dump_t { const char *cmpd_end; /* + * Fields associated with vlen data types. + * + * sep: A string that separates one member from another. The + * default is ", \001" (the \001 indicates an optional + * line break to allow structs to span multiple lines of + * output). + * + * pre: A string to print at the beginning of a vlen type. + * The default is a left parentheses. + * + * suf: A string to print at the end of each vlen type. The + * default is a right parentheses. + * + * end: a string to print after we reach the last element of + * each compound type. prints out before the suf. + */ + const char *vlen_sep; + const char *vlen_pre; + const char *vlen_suf; + const char *vlen_end; + + /* * Fields associated with the individual elements. * * fmt: A printf(3c) format to use to print the value string @@ -332,6 +354,10 @@ typedef struct dump_header{ const char *strblockend; const char *enumblockbegin; const char *enumblockend; + const char *structblockbegin; + const char *structblockend; + const char *vlenblockbegin; + const char *vlenblockend; const char *dataspacedescriptionbegin; const char *dataspacedescriptionend; @@ -432,10 +458,10 @@ extern FILE *rawdatastream; /* output stream for raw data */ #define OBJID "OBJECTID" #define BEGIN "{" #define END "}" -#endif /* Definitions of useful routines */ void print_version(const char *program_name); void h5tools_init(void); void h5tools_close(void); +#endif |