manageClasses: Manages S definitions of COM classes

loadCOMClassDefsR Documentation

Manages S definitions of COM classes

Description

These functions provide the default mechanism for managing the global collection of definitions of COM classes exported from S. These organize a collection of class definitions indexed by the UUID of the class and store these in a file which is consulted when new COM objects are requested by clients.

Usage

loadCOMClassDefs(fileName = getCOMClassDefFileName())
saveCOMClassDefs(fileName, COMDefs)

Arguments

fileName

the name of the file in which the S object describing the class definitions is stored.

COMDefs

the collection of class defintions which is a named list of class descriptions. The names/indices in this list are the UUIDs of the classes given as strings.

Details

These functions merely serialize and deserialize an S object and access elements within this object.

Value

GetCOMClassDef returns an object describing an S description of a COM class. loadCOMClassDefs returns the list of the COM class definitions. saveCOMClassDefs returns the value TRUE if successful or raises an error if not.

Author(s)

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

References

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

See Also

getCOMClassDefFileName registerCOMClass unregisterCOMClass createCOMObject


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