00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef _H5Pprivate_H
00020 #define _H5Pprivate_H
00021 
00022 
00023 #include "H5Ppublic.h"
00024 
00025 
00026 #include "H5private.h"          
00027 #include "H5Oprivate.h"         
00028 
00029 
00030 
00031 
00032 
00033 
00034 #define H5P_STRCRT_CHAR_ENCODING_NAME  "character_encoding"     
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 typedef struct H5P_genplist_t H5P_genplist_t;
00043 typedef struct H5P_genclass_t H5P_genclass_t;
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 H5_DLL herr_t H5P_init(void);
00057 
00058 
00059 H5_DLL herr_t H5P_close(void *_plist);
00060 H5_DLL hid_t H5P_create_id(H5P_genclass_t *pclass, hbool_t app_ref);
00061 H5_DLL hid_t H5P_copy_plist(const H5P_genplist_t *old_plist, hbool_t app_ref);
00062 H5_DLL herr_t H5P_get(const H5P_genplist_t *plist, const char *name, void *value);
00063 H5_DLL herr_t H5P_set(H5P_genplist_t *plist, const char *name, const void *value);
00064 H5_DLL herr_t H5P_insert(H5P_genplist_t *plist, const char *name, size_t size,
00065     void *value, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get,
00066     H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
00067     H5P_prp_compare_func_t prp_cmp, H5P_prp_close_func_t prp_close);
00068 H5_DLL herr_t H5P_remove(hid_t plist_id, H5P_genplist_t *plist, const char *name);
00069 H5_DLL htri_t H5P_exist_plist(H5P_genplist_t *plist, const char *name);
00070 H5_DLL char *H5P_get_class_name(H5P_genclass_t *pclass);
00071 H5_DLL herr_t H5P_get_nprops_pclass(const H5P_genclass_t *pclass, size_t *nprops,
00072     hbool_t recurse);
00073 H5_DLL hid_t H5P_get_driver(H5P_genplist_t *plist);
00074 H5_DLL void * H5P_get_driver_info(H5P_genplist_t *plist);
00075 H5_DLL herr_t H5P_set_driver(H5P_genplist_t *plist, hid_t new_driver_id,
00076             const void *new_driver_info);
00077 H5_DLL herr_t H5P_set_vlen_mem_manager(H5P_genplist_t *plist,
00078         H5MM_allocate_t alloc_func, void *alloc_info, H5MM_free_t free_func,
00079         void *free_info);
00080 H5_DLL herr_t H5P_is_fill_value_defined(const H5O_fill_t *fill,
00081         H5D_fill_value_t *status);
00082 H5_DLL int H5P_fill_value_cmp(const void *value1, const void *value2,
00083     size_t size);
00084 H5_DLL herr_t H5P_modify_filter(H5P_genplist_t *plist, H5Z_filter_t filter,
00085     unsigned flags, size_t cd_nelmts, const unsigned cd_values[]);
00086 H5_DLL herr_t H5P_get_filter_by_id(H5P_genplist_t *plist, H5Z_filter_t id,
00087     unsigned int *flags, size_t *cd_nelmts, unsigned cd_values[],
00088     size_t namelen, char name[], unsigned *filter_config);
00089 
00090 
00091 H5_DLL htri_t H5P_isa_class(hid_t plist_id, hid_t pclass_id);
00092 H5_DLL H5P_genplist_t *H5P_object_verify(hid_t plist_id, hid_t pclass_id);
00093 
00094 
00095 H5_DLL unsigned H5P_peek_unsigned(H5P_genplist_t *plist, const char *name);
00096 H5_DLL hid_t H5P_peek_hid_t(H5P_genplist_t *plist, const char *name);
00097 H5_DLL void *H5P_peek_voidp(H5P_genplist_t *plist, const char *name);
00098 H5_DLL size_t H5P_peek_size_t(H5P_genplist_t *plist, const char *name);
00099 
00100 
00101 H5_DLL herr_t H5P_fill_value_defined(H5P_genplist_t *plist,
00102     H5D_fill_value_t *status);
00103 H5_DLL herr_t H5P_get_fill_value(H5P_genplist_t *plist, const H5T_t *type,
00104     void *value, hid_t dxpl_id);
00105 
00106 #endif 
00107