generateOperators: Define \$ methods for typed COM class

View source: R/autoInterface.S

generateOperatorsR Documentation

Define \$ methods for typed COM class

Description

This is used by createCOMSClass to create the $ and $<- methods for the new S4 class that mirrors the COM class. This function defines S4 methods for these operators that contain information about the available properties and methods for the COM object and so provide structured access to them.

Usage

generateOperators(libEntry, className)

Arguments

libEntry

the ITypeInfo-class object from which to get the property and method descriptions.

className

the name of the S4 class for which to define the methods

Value

A list giving the two functions that were registered as get and set methods for $ and $<- respectively.

Author(s)

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

See Also

createCOMSClass computeFunctionInformation


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