Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_GET_PRESERVE

Checks status of the dataset transfer property list (DEPRECATED)

This function is deprecated as it is no longer useful; compound datatype field preservation is now core functionality in the HDF5 library.

Procedure:

H5P_GET_PRESERVE ( plist )

Signature:

int H5Pget_preserve(hid_t plist)
  

Fortran90 Interface: h5pget_preserve_f
    
SUBROUTINE h5pget_preserve_f(prp_id, flag, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id   ! Dataset transfer property 
                                         ! list identifier 
  LOGICAL, INTENT(OUT)       :: flag     ! Status of for the dataset 
                                         ! transfer property list 
  INTEGER, INTENT(OUT)       :: hdferr   ! Error code
                                         ! 0 on success and -1 on failure
END SUBROUTINE h5pget_preserve_f
	

Parameters:
hid_t plist     IN: Identifier for the dataset transfer property list

Description:

H5P_GET_PRESERVE checks the status of the dataset transfer property list.

Returns:

Returns 1 or 0 if successful; otherwise returns a negative value.

Example:

History:
Release    Change
1.6.0The flag parameter was changed from INTEGER to LOGICAL to better match the C API. (Fortran 90)

--- Last Modified: July 22, 2020 | 10:27 AM