[svn-r25084] Description:
Begin process of migrating from using property list IDs internally to the
library to using the internal generic property list data structure.
Tested on:
Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
(h5committest forthcoming)
This commit is contained in:
15
src/H5Ppkg.h
15
src/H5Ppkg.h
@@ -127,7 +127,8 @@ typedef struct H5P_libclass_t {
|
||||
const char *name; /* Class name */
|
||||
H5P_plist_type_t type; /* Class type */
|
||||
|
||||
hid_t const * const par_class_id; /* Pointer to global parent class property list class ID */
|
||||
H5P_genclass_t * * par_pclass; /* Pointer to global parent class property list class */
|
||||
H5P_genclass_t * * pclass; /* Pointer to global property list class */
|
||||
hid_t * const class_id; /* Pointer to global property list class ID */
|
||||
hid_t * const def_plist_id; /* Pointer to global default property list ID */
|
||||
H5P_reg_prop_func_t reg_prop_func; /* Register class's properties */
|
||||
@@ -144,6 +145,9 @@ typedef struct H5P_libclass_t {
|
||||
/* Property list/class iterator callback function pointer */
|
||||
typedef int (*H5P_iterate_int_t)(H5P_genprop_t *prop, void *udata);
|
||||
|
||||
/* Forward declarations (for prototypes & struct definitions) */
|
||||
struct H5Z_filter_info_t;
|
||||
|
||||
/*****************************/
|
||||
/* Package Private Variables */
|
||||
/*****************************/
|
||||
@@ -183,7 +187,6 @@ H5_DLL herr_t H5P_get_size_plist(const H5P_genplist_t *plist, const char *name,
|
||||
size_t *size);
|
||||
H5_DLL herr_t H5P_get_size_pclass(H5P_genclass_t *pclass, const char *name,
|
||||
size_t *size);
|
||||
H5_DLL H5P_genclass_t *H5P_get_class(const H5P_genplist_t *plist);
|
||||
H5_DLL herr_t H5P_get_nprops_plist(const H5P_genplist_t *plist, size_t *nprops);
|
||||
H5_DLL int H5P_cmp_class(const H5P_genclass_t *pclass1, const H5P_genclass_t *pclass2);
|
||||
H5_DLL herr_t H5P_cmp_plist(const H5P_genplist_t *plist1, const H5P_genplist_t *plist2,
|
||||
@@ -199,9 +202,6 @@ H5_DLL char *H5P_get_class_path(H5P_genclass_t *pclass);
|
||||
H5_DLL H5P_genclass_t *H5P_open_class_path(const char *path);
|
||||
H5_DLL H5P_genclass_t *H5P_get_class_parent(const H5P_genclass_t *pclass);
|
||||
H5_DLL herr_t H5P_close_class(void *_pclass);
|
||||
H5_DLL herr_t H5P_get_filter(const H5Z_filter_info_t *filter,
|
||||
unsigned int *flags, size_t *cd_nelmts, unsigned cd_values[],
|
||||
size_t namelen, char name[], unsigned *filter_config);
|
||||
H5_DLL H5P_genprop_t *H5P__find_prop_plist(const H5P_genplist_t *plist, const char *name);
|
||||
H5_DLL hid_t H5P__new_plist_of_type(H5P_plist_type_t type);
|
||||
|
||||
@@ -222,6 +222,11 @@ H5_DLL herr_t H5P__decode_uint8_t(const void **_pp, void *value);
|
||||
H5_DLL herr_t H5P__decode_hbool_t(const void **_pp, void *value);
|
||||
H5_DLL herr_t H5P__decode_double(const void **_pp, void *value);
|
||||
|
||||
/* Private OCPL routines */
|
||||
H5_DLL herr_t H5P_get_filter(const struct H5Z_filter_info_t *filter,
|
||||
unsigned int *flags, size_t *cd_nelmts, unsigned cd_values[],
|
||||
size_t namelen, char name[], unsigned *filter_config);
|
||||
|
||||
/* Testing functions */
|
||||
#ifdef H5P_TESTING
|
||||
H5_DLL char *H5P_get_class_path_test(hid_t pclass_id);
|
||||
|
||||
Reference in New Issue
Block a user