FunctionDescription-class: Description of a function from a Type Library.

FunctionDescription-classR Documentation

Description of a function from a Type Library.

Description

These classes describe a function element in a type library. The different types of functions refer to regular functions (FunctonInvokeDescription) and property accessors. The different classes are used simply for type information and dispatching rather than additional slots. The description object gives details about the parameters, the return type, the type of function (regular or property accessor).

One can determine from the collection of functions whether a property is read-only by determining if there is no set method for that property.

Objects from the Class

getFuncs

Slots

returnType:

Object of class "TypeDescription" a description of the return values for this function.

parameters:

Object of class "list" a list of ParameterDescription-class objects detailing the different parameters for the function.

invokeType:

Object of class "integer" a named integer indicating how this function should be invoked, i.e. as a propertyget, propertyput, function call, propertyrefput,

name:

Object of class "character", from class "ElementDescription" ~~

hidden:

Object of class "logical", from class "ElementDescription" ~~

Extends

Class "ElementDescription", directly.

Methods

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

Author(s)

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

References

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

See Also

ElementDescription-class getFuncs


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