summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2002-04-05 22:31:20 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2002-04-05 22:31:20 (GMT)
commit242d36d2631e3e1f68216b75d462cb1f46ccd6ec (patch)
tree4625358b70f24227c9fd186d793eabf59e39740e /src/H5Tpublic.h
parent9606ebdfc7318b73860cea422d326334d44e288e (diff)
downloadhdf5-242d36d2631e3e1f68216b75d462cb1f46ccd6ec.zip
hdf5-242d36d2631e3e1f68216b75d462cb1f46ccd6ec.tar.gz
hdf5-242d36d2631e3e1f68216b75d462cb1f46ccd6ec.tar.bz2
[svn-r5147]
Purpose: New feature Description: Added a query function H5Tget_member_index for compound and enumeration data types, to retrieve member's index by its name. Platforms tested: Linux 2.2
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 06ef8bf..458340c 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -500,6 +500,7 @@ __DLL__ H5T_pad_t H5Tget_inpad(hid_t type_id);
__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__ int H5Tget_member_index(hid_t type_id, const char *name);
__DLL__ size_t H5Tget_member_offset(hid_t type_id, int membno);
__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);