diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-12-21 21:25:38 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-12-21 21:25:38 (GMT) |
commit | 29ed3345e16144ade80e5e0eb1508e419bb4d360 (patch) | |
tree | a880ad607aa847840fad71826a6e1552f69317ba /hl/src/H5LT.h | |
parent | ed6944c01211775eac06fd39ce15648c18fa1ecd (diff) | |
download | hdf5-29ed3345e16144ade80e5e0eb1508e419bb4d360.zip hdf5-29ed3345e16144ade80e5e0eb1508e419bb4d360.tar.gz hdf5-29ed3345e16144ade80e5e0eb1508e419bb4d360.tar.bz2 |
[svn-r11830] Purpose: A new function and its test.
Description: This is the second step of conversion between data type and
text, H5LTdtype_to_text().
Solution: Similar to h5dump, this function print the DDL description of
a data type into a string.
Platforms tested: h5committest and fuss.
Diffstat (limited to 'hl/src/H5LT.h')
-rw-r--r-- | hl/src/H5LT.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hl/src/H5LT.h b/hl/src/H5LT.h index a4fd2a3..3914f67 100644 --- a/hl/src/H5LT.h +++ b/hl/src/H5LT.h @@ -345,6 +345,7 @@ H5_HLDLL hid_t H5LTcreate_compound_type( hsize_t nfields, size_t size, const cha const size_t *field_offset, const hid_t *field_types ); H5_HLDLL hid_t H5LTtext_to_dtype(const char *text); +H5_HLDLL herr_t H5LTdtype_to_text(hid_t dtype, char *str, size_t *len); H5_HLDLL herr_t H5LTrepack( hsize_t nfields, hsize_t nrecords, @@ -365,8 +366,6 @@ H5_HLDLL herr_t H5LTrepack( hsize_t nfields, * *------------------------------------------------------------------------- */ - - H5_HLDLL herr_t H5LT_get_attribute_mem( hid_t obj_id, const char *attr_name, hid_t mem_type_id, @@ -378,7 +377,6 @@ H5_HLDLL herr_t H5LT_get_attribute_disk( hid_t obj_id, H5_HLDLL herr_t H5LT_find_attribute( hid_t loc_id, const char *name ); - H5_HLDLL herr_t H5LT_set_attribute_numerical( hid_t loc_id, const char *obj_name, const char *attr_name, @@ -390,8 +388,7 @@ H5_HLDLL herr_t H5LT_set_attribute_string( hid_t dset_id, char *name, char *buf ); - - +H5_HLDLL herr_t H5LT_dtype_to_text(hid_t dtype, char **dt_str, size_t *slen, hbool_t no_user_buf); #ifdef __cplusplus } |