ParameterDescription-class: Description of a parameter of a function definition

ParameterDescription-classR Documentation

Description of a parameter of a function definition

Description

This describes an individual parameter in a function definition within a type library. It provides the name of the parameter, its type and default value, and its style (e.g. in or out, whether it is optional).

Objects from the Class

Objects can be created by calls of the form new("ParameterDescription", ...).

Slots

name:

Object of class "character" the name of the parameter, used in providing arguments in calls by name.

type:

Object of class "TypeDescription" the information for this parameter describing the data type that is expected in the call to this function for this parameter

style:

Object of class "ParameterStyle" the call style for this parameter, indicating whether it is an in, out or in/out argument by which it transfers content to and from the function.

defaultValue:

Object of class "ANY" an S object giving the default value for this argument if any.

Methods

No methods defined with class "ParameterDescription" in the signature.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs

See Also

getElements ElementDescription-class FunctionDescription-class VariableDescription-class TypeDescription-class PointerTypeDescription-class


omegahat/SWinTypeLibs documentation built on Jan. 17, 2024, 6:40 p.m.