Last modified: 26 April 2013
Name: H5Pget_class
Signature:
hid_t H5Pget_class(hid_t plist )

Purpose:
Returns the property list class for a property list.

Description:
H5Pget_class returns the property list class for the property list identified by the plist parameter.

Use H5Pequal to determine which predefined HDF5 property class H5Pget_class has returned. Valid property list classes are defined in the description of H5Pcreate.

Parameters:
hid_t plist     IN: Identifier of property list to query.

Returns:
Returns a property list class identifier if successful. Otherwise returns a negative value.

Fortran90 Interface: h5pget_class_f
SUBROUTINE h5pget_class_f(prp_id, classtype, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id ! Property list identifier 
  INTEGER, INTENT(OUT) :: classtype    ! The type of the property list 
                                       ! to be created 
                                       ! Possible values are: 
                                       !    H5P_NO_CLASS  
                                       !    H5P_FILE_CREATE_F 
                                       !    H5P_FILE_ACCESS_F 
                                       !    H5PE_DATASET_CREATE_F 
                                       !    H5P_DATASET_XFER_F
                                       !    H5P_MOUNT_F 
  INTEGER, INTENT(OUT) :: hdferr       ! Error code
                                       ! 0 on success and -1 on failure
END SUBROUTINE h5pget_class_f
	

History:
Release     Change
1.6.0 Return type changed in this release.