CompiledCOMIDispatch-class | R Documentation |
This class is used as a simple extension of
COMIDispatch-class
to illustrate that
it has information about its methods and properties
and can make use of this information in coercing
arguments and return types apporpriately.
This class is used by "compiled" or generated
S code that is derived from reading type libraries
via the SWinTypeLibs
package.
The key things we use this class for are to
provide special methods for
the $
and [[
operators
which can take advantage of the pre-computed
information. The class is "never" used directly
but rather is extended to created derived
classes for particular DCOM interfaces.
Objects of this class are not created directly, but typically are implicitly created by calling methods in the compiled/generated code created from the type library processing.
ref
:Object of class "externalptr"
, inherited from
IUnknown-class
Class "COMIDispatch"
, directly.
Class "IUnknown"
, by class "COMIDispatch"
.
signature(x = "CompiledCOMIDispatch")
:
access a property or call a method.
signature(x = "CompiledCOMIDispatch", name = "character")
: ...
signature(x = "CompiledCOMIDispatch", i = "character")
: ...
Duncan Temple Lang (duncan@r-project.org)
http://www.omegahat.net/RDCOMClient http://www.omegahat.net/RDCOMServer http://www.omegahat.net/SWinTypeLibs http://www.omegahat.net/SWinRegistry
COMIDispatch-class
generateInterface
writeCode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.