Rev 39096 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{MethodSupport}\alias{.conflicts.OK}\alias{OldEvalSelectedMethod}\alias{getMethodsForDispatch}\alias{cacheMethod}\alias{resetGeneric}\title{Additional (Support) Functions for Methods}\description{These are support routines for computations on formal methods.}\usage{getMethodsForDispatch(f, fdef)cacheMethod(f, sig, def, args, fdef, inherited = FALSE)resetGeneric(f, fdef, mlist, where, deflt)}\section{Summary of Functions}{\describe{\item{\code{resetGeneric}:}{reset the currently defined methods for this generic to thecurrently visible methods, looking from environment \code{where}. Returns \code{TRUE}or \code{FALSE} according to whether information for the functionwas found in the metadata.Normally not called directly, since changes to methods,attaching and detaching packages all generate a call automatically.}\item{\code{cacheMethod}:}{Store the definition for this function and signature in the methodmetadata for the function. Used to store extensions of coercemethods found through inheritance, and to cache methods with\code{\link{callNextMethod}} information.No persistent effect, since the method metadata is session-scopeonly.}\item{\code{getMethodsForDispatch}:}{Get the current methods list object representing the methods forfunction \code{f}, merged from the various packages and with anyadditional caching information stored in the \code{allMethods}slot.If methods have not yet been merged, calling\code{getMethodsForDispatch} will cause the merge to take place.}}}\keyword{internal}