| Line 1... |
Line 1... |
| 1 |
\name{MethodsList-class}
|
1 |
\name{MethodsList-class}
|
| 2 |
\alias{MethodsList-class}
|
2 |
\alias{MethodsList-class}
|
| 3 |
\docType{class}
|
3 |
\doctype{class}
|
| 4 |
\title{Class MethodsList, Representation of Methods for a Generic Function}
|
4 |
\title{Class MethodsList, Representation of Methods for a Generic Function }
|
| 5 |
\description{
|
- |
|
| 6 |
Objects from this class are generated and revised by the definition of
|
5 |
\description{ Objects from this class are generated and revised by the
|
| 7 |
methods for a generic function.
|
6 |
definition of methods for a generic function.}
|
| - |
|
7 |
\section{Slots}{\describe{
|
| 8 |
}
|
8 |
|
| 9 |
\section{Creating Objects}{
|
9 |
\item{\code{argument}:}{Object of class "name". The name of the
|
| 10 |
\code{ new('MethodsList',}\cr
|
- |
|
| 11 |
\code{ methods = ...., # Object of class "list"}\cr
|
10 |
argument being used for dispatch at this level. }
|
| 12 |
\code{ argument = ...., # Object of class "name"}\cr
|
11 |
\item{\code{methods}:}{A named list of the methods (and method lists)
|
| 13 |
\code{ allMethods = ...., # Object of class "list"}\cr
|
12 |
defined \emph{explicitly} for this argument, with the names being
|
| 14 |
\code{ fromClass = ...., # Object of class "character"}\cr
|
13 |
the classes for which the methods have been defined. }
|
| 15 |
\code{ )}}
|
- |
|
| 16 |
\section{Slots}{
|
- |
|
| 17 |
\describe{
|
- |
|
| 18 |
\item{\code{methods}:}{Object of class \code{"list"}}
|
14 |
\item{\code{allMethods}:}{A named list, which may be empty if this
|
| 19 |
\item{\code{argument}:}{Object of class \code{"name"}}
|
15 |
object has not been used in dispatch yet. Otherwise, it contains
|
| 20 |
\item{\code{allMethods}:}{Object of class \code{"list"}}
|
16 |
all the directly defined methods from the \code{methods} slot, plus
|
| 21 |
\item{\code{fromClass}:}{Object of class \code{"character"}}
|
17 |
any inherited methods. }
|
| 22 |
}}
|
18 |
}}
|
| - |
|
19 |
|
| - |
|
20 |
|
| 23 |
\section{Extends}{
|
21 |
\section{Extends}{
|
| 24 |
Class \code{"OptionalMethods"} directly.
|
22 |
Class \code{"OptionalMethods"}, directly.
|
| 25 |
}
|
23 |
}
|
| - |
|
24 |
\keyword{classes}
|
| 26 |
\keyword{methods}
|
25 |
\keyword{methods}
|
| 27 |
|
26 |
|