ExternalClassDefinition-class | R Documentation |
This class is used when we encounter a reference to a DCOM type
(i.e. of class TypeDescriptionRef-class
)
in a method's parameters or return value description,
and that referenced class is actually defined in another type library
than the one in which the method is located.
As we process the original type library, we collect these references
to external types using this class and then process them
separately at the end.
Objects can be created by calls of the form new("ExternalClassDefinition", ...)
.
These contain information about the name of the DCOM type
(computed via getRefTypeName
(with the follow
argument being
TRUE
)), and the information about the library in which the
class is defined and the DCOM type (i.e. the ITypeInfo-class
object)
in that library for that type.
This information makes this object fully self-describing and allows
us to generate an interface to that type.
info
:Object of class "ITypeInfo"
.
This is the resolved ITypeInfo-class
that
was computed when resolving the reference to the class
from the TypeDescriptionRef-class
information.
This can then be used in subsequent processing to generate
an interface to this DCOM type.
library
:Object of class "ITypeLib"
.
a reference to the type library in which the class is actually
defined and in which the value of the info
slot
is located.
code
:Object of class "character"
inherited from
ClassDefinition-class
.
className
:Object of class "character"
inherited from
ClassDefinition-class
.
Class "NamedClassDefinition"
, directly.
Class "ClassDefinition"
, by class "NamedClassDefinition"
.
This extends NamedClassDefinition
merely to inherit
the show method so that it prints correctly.
No public methods defined with class "ExternalClassDefinition" in the signature.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
ClassDefinition-class
NamedClassDefinition-class
InlineClassDefinition-class
generateClass
generateInterface
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.