Compares two property lists or classes for equality
Procedure:
Signature:
htri_t H5Pequal(
hid_t id1,
hid_t id2
)
Fortran90 Interface: h5pequal_f
SUBROUTINE h5pequal_f(plist1_id, plist2_id, flag, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: plist1_id ! Property list identifier
INTEGER(HID_T), INTENT(IN) :: plist2_id ! Property list identifier
LOGICAL, INTENT(OUT) :: flag ! Flag
! flag > 0, lists are equal
! flag = 0, lists are not equal
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5pequal_f
Parameters:
hid_t id1 | IN: First property object to be compared |
hid_t id2 | IN: Second property object to be compared |
Description:
H5P_EQUAL compares two property lists or classes to determine whether they are equal to one another.
Either both id1
and id2
must be property lists or both must be classes; comparing a list to a class is an error.
Returns:
Returns a positive value if the property lists or classes are equal.
Returns 0 if the property lists or classes are not equal.
Returns a negative value when the function fails.
Example:
History:
--- Last Modified: July 21, 2020 | 01:53 PM