Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_CREATE

Creates a new property list as an instance of a property list class

Procedure:

H5P_CREATE ( cls_id )

Signature:

hid_t H5Pcreate(
            hid_t cls_id
        )

Fortran90 Interface: h5pcreate_f

SUBROUTINE h5pcreate_f(classtype, prp_id, hdferr) 
  IMPLICIT NONE
  INTEGER, INTENT(IN) :: classtype       ! The type of the property list 
                                         ! to be created 
                                         ! Possible values are: 
                                         !    H5P_ATTRIBUTE_CREATE_F
                                         !    H5P_DATASET_ACCESS_F
                                         !    H5P_DATASET_CREATE_F
                                         !    H5P_DATASET_XFER_F
                                         !    H5P_DATATYPE_ACCESS_F
                                         !    H5P_DATATYPE_CREATE_F
                                         !    H5P_FILE_ACCESS_F
                                         !    H5P_FILE_CREATE_F
                                         !    H5P_FILE_MOUNT_F
                                         !    H5P_GROUP_ACCESS_F
                                         !    H5P_GROUP_CREATE_F
                                         !    H5P_LINK_ACCESS_F
                                         !    H5P_LINK_CREATE_F
                                         !    H5P_OBJECT_COPY_F
                                         !    H5P_OBJECT_CREATE_F
                                         !    H5P_STRING_CREATE_F
  INTEGER(HID_T), INTENT(OUT) :: prp_id  ! Property list identifier 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
                                         ! 0 on success and -1 on failure
END SUBROUTINE h5pcreate_f
    

Parameters:

hid_t cls_id     IN: The class of the property list to create. Valid values are listed in the Description, below.

Description:

H5P_CREATE creates a new property list as an instance of some property list class. The new property list is initialized with default values for the specified class. The classes are as follows; see the function index at the top of this page for a list of functions related to each class:

H5Pcreate Class IdentifierH5Pget_class_name Class NameComments
H5P_ATTRIBUTE_CREATEattribute createProperties for attribute creation
H5P_DATASET_ACCESSdataset accessProperties for dataset access
H5P_DATASET_CREATEdataset createProperties for dataset creation
H5P_DATASET_XFERdata transferProperties for raw data transfer
H5P_DATATYPE_ACCESSdatatype accessProperties for datatype access
H5P_DATATYPE_CREATEdatatype createProperties for datatype creation
H5P_FILE_ACCESSfile accessProperties for file access
H5P_FILE_CREATEfile createProperties for file creation
H5P_FILE_MOUNTfile mountProperties for file mounting
H5P_GROUP_ACCESSgroup accessProperties for group access
H5P_GROUP_CREATEgroup createProperties for group creation
H5P_LINK_ACCESSlink accessProperties governing link traversal when accessing objects
H5P_LINK_CREATElink createProperties governing link creation
H5P_OBJECT_COPYobject copyProperties governing the object copying process
H5P_OBJECT_CREATEobject createProperties for object creation
H5P_STRING_CREATEstring createProperties for character encoding when encoding strings or object names
H5P_VOL_INITIALIZEvol initializeProperties for VOL initialization

 

This property list must eventually be closed with H5P_CLOSE; otherwise, errors are likely to occur.

Returns:

Returns a property list identifier (plist) if successful; otherwise Fail (-1).

Example:

Include Bitbucket Server for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

Include Bitbucket Server for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

History:
Release    Change
1.12.0The H5P_VOL_INITIALIZE property list class was added
1.8.15For each class, the class name returned by H5Pget_class_name was added.
The list of possible Fortran values was updated.
1.8.0The following property list classes were added at this release:
        H5P_DATASET_ACCESS 
        H5P_GROUP_CREATE 
        H5P_GROUP_ACCESS 
        H5P_DATATYPE_CREATE 
        H5P_DATATYPE_ACCESS 
        H5P_ATTRIBUTE_CREATE                   

--- Last Modified: June 07, 2019 | 02:46 PM