The R Project SVN R

Rev

Rev 68948 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42333 ripley 1
% File src/library/methods/man/LinearMethodsList-class.Rd
68948 ripley 2
% Part of the R package, https://www.R-project.org
59039 ripley 3
% Copyright 1995-2007 R Core Team
42333 ripley 4
% Distributed under GPL 2 or later
5
 
19087 jmc 6
\name{LinearMethodsList-class}
7
\docType{class}
56186 murdoch 8
\alias{LinearMethodsList-class}
85925 hornik 9
\title{Class \code{"LinearMethodsList"}}
21544 ripley 10
\description{
42963 ripley 11
  A version of methods lists that has been \sQuote{linearized}
19087 jmc 12
  for producing summary information.  The actual objects from class
13
  \code{"MethodsList"} used for method dispatch are defined recursively
21544 ripley 14
  over the arguments involved.
15
}
19087 jmc 16
\section{Objects from the Class}{
21544 ripley 17
  The function \code{\link{linearizeMlist}} converts an ordinary methods
18
  list object into the linearized form.
19087 jmc 19
}
20
\section{Slots}{
21
  \describe{
21544 ripley 22
    \item{\code{methods}:}{Object of class \code{"list"}, the method
23
      definitions.}
19087 jmc 24
    \item{\code{arguments}:}{Object of class \code{"list"}, the
40191 jmc 25
      corresponding formal arguments, namely as many of the arguments
26
      in the signature of the generic function as are active in the
27
      relevant method table. }
19087 jmc 28
    \item{\code{classes}:}{Object of class \code{"list"}, the
29
      corresponding classes in the signatures. }
40191 jmc 30
    \item{\code{generic}:}{Object of class \code{"genericFunction"};
31
        the generic function to which the methods correspond. }
19087 jmc 32
  }
33
}
34
 
35
\section{Future Note}{
21544 ripley 36
  The current version of \code{linearizeMlist} does not take advantage of
37
  the \code{MethodDefinition} class, and therefore does more work for less
38
  effect than it could.  In particular, we may move to redefine both the
39
  function and the class to take advantage of the stored signatures.
40
  Don't write code depending precisely on the present form, although all
41
  the current information will be obtainable in the future.
19087 jmc 42
}
43
\seealso{ Function \code{\link{linearizeMlist}} for the computation,
44751 maechler 44
  and class \code{\linkS4class{MethodsList}} for the original, recursive
45
  form.
21544 ripley 46
}
19087 jmc 47
 
48
\keyword{classes}