Function Reference: H5R.create

dl>
: ref = H5R.create (loc_id, name, ref_type, space_id)

Create the reference, ref, of the type specified in ref_type, pointing to the object name located at loc_id.

ref_type must be one of 'H5R_OBJECT' or 'H5R_DATASET_REGION'.

The parameters loc_id and name are used to locate the object.

The parameter space_id identifies the dataset region that a dataset region reference points to. This parameter is used only with dataset region references and should be set to -1 if the reference is an object reference, 'H5R_OBJECT'.

See also: H5R.open, H5R.close

Source Code: H5R.create