Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_GET_NPROPS

 Queries the number of properties in a property list or class

Procedure:

H5P_GET_NPROPS (plist_id, nprops )

Signature:

herr_t H5Pget_nprops(
               hid_t plist_id,
               size_t *nprops
	)

  

Fortran90 Interface: h5pget_nprops_f
    
SUBROUTINE h5pget_nprops_f(prp_id, nprops, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id    ! Property list identifier 
  INTEGER(SIZE_T), INTENT(OUT) :: nprops  ! Number of properties
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5pget_nprops_f
			
		

Parameters:
hid_t plist_idIN: Identifier for property object to query
size_t *nprops    OUT: Number of properties in object

Description:

H5P_GET_NPROPS retrieves the number of properties in a property list or property list class.

If plist_id is a property list identifier, the current number of properties in the list is returned in nprops.

If plist_id is a property list class identifier, the number of registered properties in the class is returned in nprops.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
 

--- Last Modified: January 09, 2018 | 11:39 AM