The R Project SVN R

Rev

Rev 25118 | Rev 42333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25118 Rev 26093
Line 8... Line 8...
8
  \code{\link{setClass}} would do.
8
  \code{\link{setClass}} would do.
9
}
9
}
10
\usage{
10
\usage{
11
makeClassRepresentation(name, slots=list(), superClasses=character(),
11
makeClassRepresentation(name, slots=list(), superClasses=character(),
12
                        prototype=NULL, package, validity, access,
12
                        prototype=NULL, package, validity, access,
13
                        version, sealed, virtual=NA)
13
                        version, sealed, virtual=NA, where)
14
}
14
}
15
\arguments{
15
\arguments{
16
  \item{name}{character string name for the class}
16
  \item{name}{character string name for the class}
17
  \item{slots}{named list of slot classes as would be supplied to
17
  \item{slots}{named list of slot classes as would be supplied to
18
    \code{setClass}, but \emph{without} the unnamed arguments for
18
    \code{setClass}, but \emph{without} the unnamed arguments for
Line 28... Line 28...
28
  \item{access}{Access information.  Not currently used.}
28
  \item{access}{Access information.  Not currently used.}
29
  \item{version}{Optional version key for version control.  Currently
29
  \item{version}{Optional version key for version control.  Currently
30
    generated, but not used.}
30
    generated, but not used.}
31
  \item{sealed}{Is the class sealed? See \code{\link{setClass}}.}
31
  \item{sealed}{Is the class sealed? See \code{\link{setClass}}.}
32
  \item{virtual}{Is this known to be a virtual class?}
32
  \item{virtual}{Is this known to be a virtual class?}
-
 
33
 
-
 
34
  \item{where}{The environment from which to look for class
-
 
35
      definitions needed (e.g., for slots or superclasses). See the
-
 
36
      discussion of this argument under \link{GenericFunctions}.}
33
}
37
}
34
\references{
38
\references{
35
  The R package \pkg{methods} implements, with a few exceptions, the
39
  The R package \pkg{methods} implements, with a few exceptions, the
36
  programming interface for classes and methods in the book
40
  programming interface for classes and methods in the book
37
  \emph{Programming with Data} (John M. Chambers, Springer, 1998), in
41
  \emph{Programming with Data} (John M. Chambers, Springer, 1998), in