File: H5P-class.Rd

package info (click to toggle)
r-cran-hdf5r 1.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,192 kB
  • sloc: ansic: 76,883; sh: 82; python: 32; makefile: 13
file content (74 lines) | stat: -rw-r--r-- 2,331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/R6Classes_H5P.R
\docType{class}
\name{H5P-class}
\alias{H5P-class}
\alias{H5P}
\title{Class for HDF5 property lists.}
\value{
Object of class \code{\link{H5P}}.
}
\description{
This is the base class for all property lists, but most have a specialized class.
It inherits all functions of the
\code{\link{H5RefClass}}. It is also the base class for many other classes, specifically
\describe{
\item{Dataset Creation}{\code{\link{H5P_DATASET_CREATE}}}
\item{Dataset Access}{\code{\link{H5P_DATASET_ACCESS}}}
\item{Dataset Transfer}{\code{\link{H5P_DATASET_XFER}}}
\item{Link Creation}{\code{\link{H5P_LINK_CREATE}}}
\item{Link Access}{\code{\link{H5P_LINK_ACCESS}}}
\item{Object Creation}{\code{\link{H5P_OBJECT_CREATE}}}
\item{Object Copy}{\code{\link{H5P_OBJECT_COPY}}}
\item{Attribute Creation}{\code{\link{H5P_ATTRIBUTE_CREATE}}}
}
The base class is unlikely to be needed by users - they should use the appropriate subclass required.
}
\section{Methods}{

\describe{
\item{\code{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

\strong{Parameters}
\describe{
\item{id}{Internal use only}
}}

\item{\code{get_class()}}{

This function implements the HDF5-API function H5Pget_class.
Please see the documentation at \url{https://portal.hdfgroup.org/display/HDF5/H5P_GET_CLASS} for details.}

\item{\code{get_class_name()}}{

This function implements the HDF5-API function H5Pget_class_name.
Please see the documentation at \url{https://portal.hdfgroup.org/display/HDF5/H5P_GET_CLASS_NAME} for details.}

\item{\code{copy()}}{

This function implements the HDF5-API function H5Pcopy.
Please see the documentation at \url{https://portal.hdfgroup.org/display/HDF5/H5P_COPY} for details.}

\item{\code{equal(cmp)}}{

This function implements the HDF5-API function H5Pequal.
Please see the documentation at \url{https://portal.hdfgroup.org/display/HDF5/H5P_EQUAL} for details.}
}}

\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()
}
\author{
Holger Hoefling
}