getRefTypeInfo | R Documentation |
This function resolves the ITypeInfo-class
element in a type library
for a given TypeDescriptionRef-class
object.
These TypeDescriptionRef-class
objects arise
in the description of parameter types and return types
of DCOM methods via getFuncs
and we
need to resolve them to find their actual definitions
in terms of DCOM interfaces.
This function performs that action of mapping the
information in the TypeDescriptionRef-class
object to a ITypeInfo-class
.
getRefTypeInfo(info, href, lib = NULL, follow = !is.null(lib))
info |
the |
href |
the identifier for the reference, typically
the |
follow |
a logical value indicating whether to resolve the
referenced type across type libraries. This arises when
library A refers to this type as a parameter or return value
but it is actually defined in a type library, B say. We can resolve
this in library A, but the results may be generic (e.g.
an enumeration may have a name Constants rather than the more specific
name). If we resolve the type in library B, then we can get the more
specific |
lib |
an object of class |
An object of some class derived from ITypeInfo-class
depending on the type the reference identifies.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
getTypeInfo
, specifically the method for
ITypeInfo, TypeDescriptionRef
.
getRefTypeName
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.