The R Project SVN R

Rev

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

Rev Author Line No. Line
42333 ripley 1
% File src/library/methods/man/MethodWithNext-class.Rd
68948 ripley 2
% Part of the R package, https://www.R-project.org
86513 maechler 3
% Copyright 1995-2024 R Core Team
42333 ripley 4
% Distributed under GPL 2 or later
5
 
19087 jmc 6
\name{MethodWithNext-class}
7
\docType{class}
56186 murdoch 8
\alias{MethodWithNext-class}
85925 hornik 9
\title{Class \code{"MethodWithNext"} }
10
\description{ Class of method definitions set up for \code{callNextMethod} }
19087 jmc 11
\section{Objects from the Class}{
23531 hornik 12
  Objects from this class are generated as a side-effect of calls to
13
  \code{\link{callNextMethod}}.
19087 jmc 14
}
15
\section{Slots}{
16
  \describe{
17
    \item{\code{.Data}:}{Object of class \code{"function"}; the actual
18
      function definition.}
19
    \item{\code{nextMethod}:}{Object of class \code{"PossibleMethod"}
23531 hornik 20
      the method to use in response to a \code{\link{callNextMethod}()}
21
      call.}
19087 jmc 22
    \item{\code{excluded}:}{Object of class \code{"list"}; one or more
23
      signatures excluded in finding the next method. }
23531 hornik 24
    \item{\code{target}:}{Object of class \code{"signature"}, from class
25
      \code{"MethodDefinition"}}
26
    \item{\code{defined}:}{Object of class \code{"signature"}, from
44751 maechler 27
      class \code{"MethodDefinition"}}
39016 jmc 28
      \item{\code{generic}:}{Object of class \code{"character"}; the function
44751 maechler 29
        for which the method was created. }
19087 jmc 30
  }
31
}
32
\section{Extends}{
23531 hornik 33
  Class \code{"MethodDefinition"}, directly.\cr
34
  Class \code{"function"}, from data part.\cr
35
  Class \code{"PossibleMethod"}, by class \code{"MethodDefinition"}.\cr
86513 maechler 36
  Class \code{"optionalMethod"}, by class \code{"MethodDefinition"}.
19087 jmc 37
}
38
\section{Methods}{
39
  \describe{
40
    \item{findNextMethod}{\code{signature(method = "MethodWithNext")}:
41
      used internally by method dispatch. }
42
    \item{show}{\code{signature(object = "MethodWithNext")} }
43
  }
44
}
45
 
44751 maechler 46
\seealso{  \code{\link{callNextMethod}}, and
47
  class \code{\linkS4class{MethodDefinition}}.
48
}
19087 jmc 49
\keyword{classes}