H5P-class {hdf5r} | R Documentation |
Class for HDF5 property lists.
Description
This is the base class for all property lists, but most have a specialized class.
It inherits all functions of the
H5RefClass
. It is also the base class for many other classes, specifically
- Dataset Creation
- Dataset Access
- Dataset Transfer
- Link Creation
- Link Access
- Object Creation
- Object Copy
- Attribute Creation
The base class is unlikely to be needed by users - they should use the appropriate subclass required.
Value
Object of class H5P
.
Methods
new(id = NULL)
-
Create a new property list; this function itself is unlikely to be needed by users. Users should use the classes of the type they actually require
Parameters
- id
Internal use only
get_class()
-
This function implements the HDF5-API function H5Pget_class. Please see the documentation at https://docs.hdfgroup.org/hdf5/v1_10/group___h5_p.html for details.
get_class_name()
-
This function implements the HDF5-API function H5Pget_class_name. Please see the documentation at https://docs.hdfgroup.org/hdf5/v1_10/group___h5_p.html for details.
copy()
-
This function implements the HDF5-API function H5Pcopy. Please see the documentation at https://docs.hdfgroup.org/hdf5/v1_10/group___h5_p.html for details.
equal(cmp)
-
This function implements the HDF5-API function H5Pequal. Please see the documentation at https://docs.hdfgroup.org/hdf5/v1_10/group___h5_p.html for details.
Author(s)
Holger Hoefling
Examples
fname <- tempfile(fileext = ".h5")
file <- H5File$new(fname, mode = "a")
file[["testdataset"]] <- 1:10
p <- file[["testdataset"]]$get_create_plist()
p$get_class()
p$get_class_name()
p$copy()
p$equal(p)
file$close_all()