computeCOMNames: Generate name-id mapping

computeCOMNamesR Documentation

Generate name-id mapping

Description

This constructs a mapping of the different names of the functions, properties and argument names within a collection of functions and property declarations for a COM object. The result is an integer vector that provides an ID for each of the known names. This is used in the COM mechanism to handle names in method/property invocation.

Usage

computeCOMNames(els)

Arguments

els

an list containing functions to export as methods in a COM object and an element named .properties giving the names of the properties to export.

Details

This combines the property names with the names of the methods and all of the argument names for these functions.

Value

A named integer vector giving the mapping between the set of names to the corresponding integers.

Author(s)

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

References

http://www.omegahat.org/RDCOMServer http://www.omegahat.org/SWinRegistry

See Also

COMSIDispatchObject


omegahat/RDCOMServer documentation built on July 17, 2022, 7:25 p.m.