diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-09 23:00:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-09 23:00:19 (GMT) |
commit | 66c44914cc582da845571768161302b1b18b26bd (patch) | |
tree | b973e68f44787edf1beb210cb9b5ad304475bc98 /src/H5Tpublic.h | |
parent | 2ce142b6eeee804f927f3a3e21531c68dbb4309f (diff) | |
download | hdf5-66c44914cc582da845571768161302b1b18b26bd.zip hdf5-66c44914cc582da845571768161302b1b18b26bd.tar.gz hdf5-66c44914cc582da845571768161302b1b18b26bd.tar.bz2 |
[svn-r2850] Purpose:
Added new function.
Description:
It's often convenient to query the class of a compound datatype's member
to determine if it's an array and the previous way required you to open
the member type to query it's class.
Solution:
Added new H5Tget_member_class function to directly ask for the member type's
class.
Platforms tested:
FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r-- | src/H5Tpublic.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index 95fa939..1d534d8 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -458,11 +458,6 @@ __DLL__ htri_t H5Tcommitted(hid_t type_id); /* Operations defined on compound data types */ __DLL__ herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id); -#ifdef QAK -__DLL__ herr_t H5Tinsert_array(hid_t parent_id, const char *name, - size_t offset, int ndims, const size_t dim[], - const int *perm, hid_t member_id); -#endif /* QAK */ __DLL__ herr_t H5Tpack(hid_t type_id); /* Operations defined on enumeration data types */ @@ -506,10 +501,7 @@ __DLL__ H5T_str_t H5Tget_strpad(hid_t type_id); __DLL__ int H5Tget_nmembers(hid_t type_id); __DLL__ char *H5Tget_member_name(hid_t type_id, int membno); __DLL__ size_t H5Tget_member_offset(hid_t type_id, int membno); -#ifdef QAK -__DLL__ int H5Tget_member_dims(hid_t type_id, int membno, size_t dims[]/*out*/, - int perm[]/*out*/); -#endif /* QAK */ +__DLL__ H5T_class_t H5Tget_member_class(hid_t type_id, int membno); __DLL__ hid_t H5Tget_member_type(hid_t type_id, int membno); __DLL__ herr_t H5Tget_member_value(hid_t type_id, int membno, void *value/*out*/); |