signature-class | R Documentation |
"signature"
For Method DefinitionsThis class represents the mapping of some of the formal
arguments of a function onto the corresponding classes. It is used for
two slots in the MethodDefinition
class.
Objects can be created by calls of the form new("signature",
functionDef, ...)
. The functionDef
argument, if it is
supplied as a function object, defines the formal names. The other
arguments define the classes. More typically, the objects are
created as side effects of defining methods. Either way, note that
the classes are expected to be well defined, usually because the
corresponding class definitions exist. See the comment on the
package
slot.
.Data
:Object of class "character"
the class names.
names
:Object of class "character"
the
corresponding argument names.
package
:Object of class "character"
the
names of the packages corresponding to the class names. The
combination of class name and package uniquely defines the
class. In principle, the same class name could appear in more
than one package, in which case the package
information
is required for the signature to be well defined.
Class "character"
, from data part.
Class "vector"
, by class "character".
signature(object = "signature")
: see the
discussion of objects from the class, above.
class MethodDefinition
for the use of this class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.