diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-01-07 11:41:25 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-01-07 11:41:25 (GMT) |
commit | 504aa95bd92511ccb80e6321dd79f7dc525310d5 (patch) | |
tree | 43b1c89316ea8ef44db0fe05a6f33cba0006d4b0 /src/H5Tpublic.h | |
parent | 04bec43fa2e962fc4bf5deef67879b5ebf573c8f (diff) | |
download | hdf5-504aa95bd92511ccb80e6321dd79f7dc525310d5.zip hdf5-504aa95bd92511ccb80e6321dd79f7dc525310d5.tar.gz hdf5-504aa95bd92511ccb80e6321dd79f7dc525310d5.tar.bz2 |
[svn-r1010] Changes since 19981217
----------------------
./src/H5.c
./src/H5private.h
Renamed `library_initialize_g' to `H5_libinit_g' to make it
conform to our naming scheme.
./src/H5I.c
Fixed a bug in H5I_dec_ref() that caused the return value to
always be zero instead of the new reference count.
./src/H5.c
./src/H5Odtype.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tprivate.h
./src/H5Tpublic.h
Added support for enumeration data types.
./src/H5RA.c
Renamed H5T_insert() to H5T_struct_insert() and added
H5T_enum_insert().
./src/H5RA.c
./src/H5Shyper.c
Added casts to size_t for the third argument of memcpy() to
shut up a warning message from insure++.
./src/H5T.c
Changed "can't" to "unable to" in some error messages to be
more consistent.
./src/H5detect.c
If fork() or waitpid() are unavailable then we assume no
alignment constraints. Hopefully this is the case only on NT
and Intel CPU's don't have alignment constraints.
./src/H5public.h
Include <limits.h> because the H5T_NATIVE_CHAR macro needs the
definition for CHAR_MIN.
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r-- | src/H5Tpublic.h | 55 |
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); |