summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-10-08 14:08:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-10-08 14:08:10 (GMT)
commit7e5d420349ddab3b5e8b8e35293433d5b452a977 (patch)
tree2d4edaeac6975758a4dfb71a307b11de8b98f427 /src/H5Ppublic.h
parentf2d67b4864424bc52e876f709304604352055cd3 (diff)
downloadhdf5-7e5d420349ddab3b5e8b8e35293433d5b452a977.zip
hdf5-7e5d420349ddab3b5e8b8e35293433d5b452a977.tar.gz
hdf5-7e5d420349ddab3b5e8b8e35293433d5b452a977.tar.bz2
[svn-r5963] Purpose:
New internal feature. Description: Need some way to determine the "full path" for a generic property class, i.e. where is this class in the class hierarchy, in relation to its parent class, etc. Solution: Added an internal function "H5P_get_class_path" and a testing function "H5Pget_class_path_test" that builds the full path of a generic property class back to the top of its class hierarchy. This implementation uses '/' characters to delimit the components of the class path, but no special cases are currently supported for having a '/' character as part of the actual class name. Should this become an issue, code to support (and test) it will need to be added. Platforms tested: FreeBSD 4.6 (sleipnir) (not major enough to justify triple-test)
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 07cbec2..d2ab774 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -115,6 +115,9 @@ H5_DLL hid_t H5Pcreate_class(hid_t parent, const char *name, unsigned hashsize,
H5P_cls_copy_func_t cls_copy, void *copy_data,
H5P_cls_close_func_t cls_close, void *close_data);
H5_DLL char *H5Pget_class_name(hid_t pclass_id);
+#ifdef H5P_TESTING
+H5_DLL char *H5Pget_class_path_test(hid_t pclass_id);
+#endif /* H5P_TESTING */
H5_DLL hid_t H5Pcreate(hid_t cls_id);
H5_DLL herr_t H5Pregister(hid_t cls_id, const char *name, size_t size,
void *def_value, H5P_prp_create_func_t prp_create,