summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h55
1 files changed, 32 insertions, 23 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 2f3048f..cab2531 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -33,8 +33,9 @@ typedef enum H5T_class_t {
H5T_OPAQUE = 5, /*opaque types */
H5T_COMPOUND = 6, /*compound types */
H5T_REFERENCE = 7, /*reference types */
+ H5T_ENUM = 8, /*enumeration types */
- H5T_NCLASSES = 8 /*this must be last */
+ H5T_NCLASSES = 9 /*this must be last */
} H5T_class_t;
/* Byte orders */
@@ -399,29 +400,37 @@ herr_t H5Tinsert_array (hid_t parent_id, const char *name, size_t offset,
hid_t member_id);
herr_t H5Tpack (hid_t type_id);
+/* Operations defined on enumeration data types */
+hid_t H5Tenum_create(hid_t base_id);
+herr_t H5Tenum_insert(hid_t type, const char *name, void *value);
+hid_t H5Tenum_nameof(hid_t type, void *value, char *name/*out*/, size_t size);
+hid_t H5Tenum_valueof(hid_t type, const char *name, void *value/*out*/);
+
/* Querying property values */
-H5T_class_t H5Tget_class (hid_t type_id);
-size_t H5Tget_size (hid_t type_id);
-H5T_order_t H5Tget_order (hid_t type_id);
-size_t H5Tget_precision (hid_t type_id);
-size_t H5Tget_offset (hid_t type_id);
-herr_t H5Tget_pad (hid_t type_id, H5T_pad_t *lsb/*out*/,
- H5T_pad_t *msb/*out*/);
-H5T_sign_t H5Tget_sign (hid_t type_id);
-herr_t H5Tget_fields (hid_t type_id, size_t *spos/*out*/,
- size_t *epos/*out*/, size_t *esize/*out*/,
- size_t *mpos/*out*/, size_t *msize/*out*/);
-size_t H5Tget_ebias (hid_t type_id);
-H5T_norm_t H5Tget_norm (hid_t type_id);
-H5T_pad_t H5Tget_inpad (hid_t type_id);
-H5T_str_t H5Tget_strpad (hid_t type_id);
-int H5Tget_nmembers (hid_t type_id);
-char *H5Tget_member_name (hid_t type_id, int membno);
-size_t H5Tget_member_offset (hid_t type_id, int membno);
-int H5Tget_member_dims (hid_t type_id, int membno, size_t dims[]/*out*/,
- int perm[]/*out*/);
-hid_t H5Tget_member_type (hid_t type_id, int membno);
-H5T_cset_t H5Tget_cset (hid_t type_id);
+hid_t H5Tget_super(hid_t type);
+H5T_class_t H5Tget_class(hid_t type_id);
+size_t H5Tget_size(hid_t type_id);
+H5T_order_t H5Tget_order(hid_t type_id);
+size_t H5Tget_precision(hid_t type_id);
+size_t H5Tget_offset(hid_t type_id);
+herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb/*out*/,
+ H5T_pad_t *msb/*out*/);
+H5T_sign_t H5Tget_sign(hid_t type_id);
+herr_t H5Tget_fields(hid_t type_id, size_t *spos/*out*/,
+ size_t *epos/*out*/, size_t *esize/*out*/,
+ size_t *mpos/*out*/, size_t *msize/*out*/);
+size_t H5Tget_ebias(hid_t type_id);
+H5T_norm_t H5Tget_norm(hid_t type_id);
+H5T_pad_t H5Tget_inpad(hid_t type_id);
+H5T_str_t H5Tget_strpad(hid_t type_id);
+int H5Tget_nmembers(hid_t type_id);
+char *H5Tget_member_name(hid_t type_id, int membno);
+size_t H5Tget_member_offset(hid_t type_id, int membno);
+int H5Tget_member_dims(hid_t type_id, int membno, size_t dims[]/*out*/,
+ int perm[]/*out*/);
+hid_t H5Tget_member_type(hid_t type_id, int membno);
+herr_t H5Tget_member_value(hid_t type_id, int membno, void *value/*out*/);
+H5T_cset_t H5Tget_cset(hid_t type_id);
/* Setting property values */
herr_t H5Tset_size (hid_t type_id, size_t size);