Returns information about a filter in a pipeline
H5P_GET_FILTER ( plist_id, idx, flags, cd_nelmts, cd_values, namelen, name, filter_config )
 H5Z_filter_t H5Pget_filter( hid_t plist, unsigned int idx, unsigned int *flags, size_t *cd_nelmts, unsigned int *cd_values, size_t namelen, char name )
 H5Z_filter_t H5Pget_filter( hid_t plist_id, unsigned idx, unsigned int *flags, size_t *cd_nelmts, unsigned cd_values, size_t namelen, char name, unsigned *filter_config )
Fortran90 Interface: h5pget_filter_f SUBROUTINE h5pget_filter_f(prp_id, filter_number, flags, cd_nelmts, cd_values, namelen, name, filter_id, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: prp_id ! Property list identifier INTEGER, INTENT(IN) :: filter_number ! Sequence number within the filter ! pipeline of the filter for which ! information is sought INTEGER, DIMENSION(*), INTENT(OUT) :: cd_values ! Auxiliary data for the filter INTEGER, INTENT(OUT) :: flags ! Bit vector specifying certain ! general properties of the filter INTEGER(SIZE_T), INTENT(INOUT) :: cd_nelmts ! Number of elements in cd_values INTEGER(SIZE_T), INTENT(IN) :: namelen ! Anticipated number of characters ! in name CHARACTER(LEN=*), INTENT(OUT) :: name ! Name of the filter INTEGER, INTENT(OUT) :: filter_id ! Filter identification number INTEGER, INTENT(OUT) :: hdferr ! Error code ! 0 on success and -1 on failure END SUBROUTINE h5pget_filter_f
Such macros are provided to facilitate application compatibility. For example:
H5P_GET_FILTERmacro will be mapped to
H5P_GET_FILTER1and will use the
and will use the
H5P_GET_FILTER2syntax (second signature above) if an application is coded for HDF5 Release 1.8.x.
For more information on macro use and mappings, see the “API Compatibility Macros in HDF5” document.
When both the HDF5 Library and the application are built and installed with no specific compatibility flags,
H5P_GET_FILTER1. Function-specific flags are available to override these settings on a function-by-function basis when the application is compiled.
Specific compile-time compatibility flags and the resulting mappings are as follows:
|No compatibility flag|
|Enable deprecated symbols|
|Disable deprecated symbols|
|Emulate Release 1.6 interface|
Interface history: Signature  above is the original
Signature  above was introduced with HDF5 Release 1.8.0 and is the recommended and default interface. It is directly callable as
See “API Compatibility Macros in HDF5” for circumstances under which either of these functions might not be available in an installed instance of the HDF5 Library.
|1.8.0||The function |