Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layer
id1195548671
Content Column
width50.00001%
id1195578110
classrm_pagetree_col mobile-hide
Content Block
id1195578111
 
Content Column
width50.00001%
id1195548673
classhdf-rm-main-column
Content Block
id1195548672

Include Content
render-without-blockstrue
page.rm-navbar
HTML Wrap
classhdf-print-only

Page Title

HTML Wrap
classhdf-rm-summary-block

Hdf rm anchor
AnchorNamesummary

Excerpt

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

HTML Wrap
classhdf-rm-content-block

Hdf rm anchor
AnchorNameprocedure

Procedure:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf_procedure

H5P_CREATE ( cls_id )

Hdf rm anchor
AnchorNamesignature

Signature:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-c

HTML
<pre><code class="language-c">hid_t H5Pcreate(
            hid_t cls_id
        )</code></pre>
HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-fortran

HTML
<pre><code class="language-fortran">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
    </code></pre>

Hdf rm anchor
AnchorNameparameters

Parameters:
HTML Wrap
classhdf-rm-section

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

Hdf rm anchor
AnchorNamedescription

Description:
HTML Wrap
classhdf-rm-section

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.

Hdf rm anchor
AnchorNamereturns

Returns:
HTML Wrap
classhdf-rm-section

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

Hdf rm anchor
AnchorNameexample

Example:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathexamples/h5_extend.c
showLineNumberstrue
lineStart70
progLangplain
lineEnd71
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathfortran/examples/h5_extend.f90
showLineNumberstrue
lineStart105
progLangplain
lineEnd108
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Hdf rm anchor
AnchorNamehistory

History:
HTML Wrap
classhdf-rm-section
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