Queries whether a property name exists in a property list or class

Procedure:

H5P_EXIST ( id, name )

Signature:

<pre><code class="language-c">htri_t H5Pexist(
                  hid_t id,
                  const char *name
	)
    </code></pre>

<pre><code class="language-fortran">Fortran90 Interface: h5pexist_f
    
SUBROUTINE h5pexist_f(prp_id, name, flag, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id  ! Property list identifier 
  CHARACTER(LEN=*), INTENT(IN) :: name  ! Name of property to modify
  LOGICAL, INTENT(OUT) :: flag          ! Logical flag
                                        !    .TRUE. if exists 
                                        !    .FALSE. otherwise
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                        ! 0 on success and -1 on failure
END SUBROUTINE h5pexist_f
	</code></pre>

Parameters:
hid_t idIN: Identifier for the property to query
const char * name    IN: Name of property to check for

Description:

H5P_EXIST determines whether a property exists within a property list or class.

Returns:

Returns a positive value if the property exists in the property object.

Returns 0 if the property does not exist in the property object.

Returns a negative value when the function fails.

Example:

Coming Soon!

History: