Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5G_GET_CREATE_PLIST

Gets a group creation property list identifier

Procedure:

H5G_GET_CREATE_PLIST ( group_id )

Signature:

hid_t H5Gget_create_plist ( hid_t group_id )

SUBROUTINE h5gget_create_plist_f(grp_id, gcpl_id, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN)  :: grp_id  ! Group identifier
  INTEGER(HID_T), INTENT(OUT) :: gcpl_id ! Property list for group creation
  INTEGER, INTENT(OUT) :: hdferr         ! Error code 
                                         ! 0 on success and -1 on failure
END SUBROUTINE h5gget_create_plist_f

Parameters:
hid_t group_id    IN: Identifier of the group

Description:

H5G_GET_CREATE_PLIST returns an identifier for the group creation property list associated with the group specified by  group_id .

The creation property list identifier should be released with H5P_CLOSE.

Returns:

Returns an identifier for the group’s creation property list if successful. Otherwise returns a negative value.

Example:
   unsigned crt_order_flags = 0;
    ...
   file_id = H5Fopen (FILENAME, H5F_ACC_RDWR, H5P_DEFAULT);
   group_id = H5Gopen (file_id, GROUPNAME, H5P_DEFAULT);
          
   gcplid = H5Gget_create_plist (group_id);
   status = H5Pget_link_creation_order(gcplid, &crt_order_flags);
   if (crt_order_flags == (H5P_CRT_ORDER_TRACKED | H5P_CRT_ORDER_INDEXED))
    ...

 

History:
Release    Change
1.8.0Function introduced in this release.

--- Last Modified: August 19, 2019 | 03:27 PM