Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5P.create

Create new property list

Syntax

plist = H5P.create(class_id)

Description

plist = H5P.create(class_id) creates a new property list as an instance of the property list class specified by class_id. The class_id input can be one of the following strings or the corresponding constant value.

'H5P_ATTRIBUTE_CREATE'
'H5P_DATASET_ACCESS'
'H5P_DATASET_CREATE'
'H5P_DATASET_XFER'
'H5P_DATATYPE_CREATE'
'H5P_DATATYPE_ACCESS'
'H5P_FILE_MOUNT'
'H5P_FILE_CREATE'
'H5P_FILE_ACCESS'
'H5P_GROUP_CREATE'
'H5P_GROUP_ACCESS'
'H5P_LINK_CREATE'
'H5P_LINK_ACCESS'
'H5P_OBJECT_COPY'
'H5P_OBJECT_CREATE'
'H5P_STRING_CREATE'

class_id can also be an instance of a property list class.

Examples

fapl = H5P.create('H5P_FILE_ACCESS');
fid = H5F.open('example.h5','H5F_ACC_RDONLY',fapl);

See Also

| |

Was this topic helpful?