ITypeInfo-class | R Documentation |
These classes provide a handle to C-level data structures that describe an element within a type library. From an instance we can obtain information about the methods and variables within a class, values in an enumeration, aliases or type definitions for an element in terms of another, and so on.
ITypeLibEntry
is a simple extension that provides
information about the origin of the information. This indicates that
it was obtained from a type library rather than a DCOM object.
Objects can be created by calls of the form getTypeInfo
and other covenience operators such as lib[["Application"]]
where lib
is a ITypeLib-class
object.
ref
:Object of class "externalptr"
the reference to the C-level ITypeInfo
value.
type
:Object of class "integer"
a named integer that indicates what type of element this information
object refers to. This is an enumeration, dispatch, coclass, alias, etc.
The name provides a human-readable form; the integer value is the
enumeration value from C.
guid
:Object of class "character"
.
This is the stringified version of the UUID that uniquely identifies
this element/interface.
signature(x = "ITypeInfo")
: get a list of the enumeration elements within
this information object.
signature(x = "ITypeInfo")
:
get a list of all of the function objects within this information object.
signature(lib = "ITypeInfo")
:
get the name and documentation string for the information object.
signature(x = "ITypeInfo")
: get the variables within the information object.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
getTypeInfo
LoadTypeLib
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.