diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-08 17:16:07 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-08 17:16:07 (GMT) |
commit | ec65ddbef69ca67f0b40f06e45694d8ea076692e (patch) | |
tree | bf3b2698e85a1073ea5d9a7ce4a561220c040e6d /src/H5Pprivate.h | |
parent | 7e5d420349ddab3b5e8b8e35293433d5b452a977 (diff) | |
download | hdf5-ec65ddbef69ca67f0b40f06e45694d8ea076692e.zip hdf5-ec65ddbef69ca67f0b40f06e45694d8ea076692e.tar.gz hdf5-ec65ddbef69ca67f0b40f06e45694d8ea076692e.tar.bz2 |
[svn-r5964] Purpose:
Internal feature.
Description:
To complement the "get the class's path" functionality, there needs to be
a way to open a generic property class with a path.
Solution:
Implement the "open a class by path" functionality. Also, add internal
testing routines.
Platforms tested:
FreeBSD 4.6 (sleipnir) (too small for triple testing)
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r-- | src/H5Pprivate.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h index b0de67a..2f962c2 100644 --- a/src/H5Pprivate.h +++ b/src/H5Pprivate.h @@ -40,7 +40,6 @@ H5_DLL herr_t H5P_insert(H5P_genplist_t *plist, const char *name, size_t size, H5_DLL herr_t H5P_remove(hid_t plist_id, H5P_genplist_t *plist, const char *name); H5_DLL htri_t H5P_exist_plist(H5P_genplist_t *plist, const char *name); H5_DLL char *H5P_get_class_name(H5P_genclass_t *pclass); -H5_DLL char *H5P_get_class_path(H5P_genclass_t *pclass); H5_DLL herr_t H5P_get_nprops_pclass(H5P_genclass_t *pclass, size_t *nprops); H5_DLL herr_t H5P_register(H5P_genclass_t *pclass, const char *name, size_t size, void *def_value, H5P_prp_create_func_t prp_create, H5P_prp_set_func_t prp_set, @@ -64,6 +63,11 @@ H5_DLL herr_t H5P_fill_value_defined(H5P_genplist_t *plist, H5_DLL htri_t H5P_isa_class(hid_t plist_id, hid_t pclass_id); H5_DLL void *H5P_object_verify(hid_t plist_id, hid_t pclass_id); +/* Testing functions */ +#ifdef H5P_TESTING +H5_DLL char *H5P_get_class_path_test(hid_t pclass_id); +H5_DLL hid_t H5P_open_class_path_test(const char *path); +#endif /* H5P_TESTING */ /* Private functions to "peek" at properties of a certain type */ H5_DLL unsigned H5P_peek_unsigned(H5P_genplist_t *plist, const char *name); |