H5P_GET_FILTER_BY_ID1 returns information about the filter specified in filter_id , a filter identifier. plist_id must be a dataset or group creation property list and filter_id must be in the associated filter pipeline.
The filter_id and flags parameters are used in the same manner as described in the discussion of H5P_SET_FILTER. Aside from the fact that they are used for output, the parameters cd_nelmts and cd_values[] are used in the same manner as described in the discussion of H5P_SET_FILTER. On input, the cd_nelmts parameter indicates the number of entries in the cd_values[] array allocated by the calling program; on exit it contains the number of values defined by the filter. On input, the namelen parameter indicates the number of characters allocated for the filter name by the calling program in the array name[] . On exit name[] contains the name of the filter with one character of the name in each element of the array. If the filter specified in filter_id is not set for the property list, an error will be returned and H5P_GET_FILTER_BY_ID1 will fail. |