| Line 1... |
Line 1... |
| 1 |
% File src/library/methods/man/setSClass.Rd
|
1 |
% File src/library/methods/man/setSClass.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2007 R Core Team
|
3 |
% Copyright 1995-2015 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{makeClassRepresentation}
|
6 |
\name{makeClassRepresentation}
|
| 7 |
\alias{makeClassRepresentation}
|
7 |
\alias{makeClassRepresentation}
|
| 8 |
\title{Create a Class Definition}
|
8 |
\title{Create a Class Definition}
|
| Line 22... |
Line 22... |
| 22 |
\item{slots}{named list of slot classes as would be supplied to
|
22 |
\item{slots}{named list of slot classes as would be supplied to
|
| 23 |
\code{setClass}, but \emph{without} the unnamed arguments for
|
23 |
\code{setClass}, but \emph{without} the unnamed arguments for
|
| 24 |
superClasses if any.}
|
24 |
superClasses if any.}
|
| 25 |
\item{superClasses}{what classes does this class extend}
|
25 |
\item{superClasses}{what classes does this class extend}
|
| 26 |
\item{prototype}{an object providing the default data for the class,
|
26 |
\item{prototype}{an object providing the default data for the class,
|
| 27 |
e.g, the result of a call to \code{\link{prototype}}.}
|
27 |
e.g., the result of a call to \code{\link{prototype}}.}
|
| 28 |
\item{package}{The character string name for the package in which
|
28 |
\item{package}{The character string name for the package in which
|
| 29 |
the class will be stored; see \code{\link{getPackageName}}.}
|
29 |
the class will be stored; see \code{\link{getPackageName}}.}
|
| 30 |
\item{validity}{Optional validity method. See
|
30 |
\item{validity}{Optional validity method. See
|
| 31 |
\code{\link{validObject}}, and the discussion of validity methods in
|
31 |
\code{\link{validObject}}, and the discussion of validity methods in
|
| 32 |
the reference.}
|
32 |
the reference.}
|