ITypeInfo-class: Information about an interface, class, enumeration, alias,...

ITypeInfo-classR Documentation

Information about an interface, class, enumeration, alias, etc.

Description

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 from the Class

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.

Slots

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.

Methods

getEnum

signature(x = "ITypeInfo"): get a list of the enumeration elements within this information object.

getFuncs

signature(x = "ITypeInfo"): get a list of all of the function objects within this information object.

getTypeDocumentation

signature(lib = "ITypeInfo"): get the name and documentation string for the information object.

getVars

signature(x = "ITypeInfo"): get the variables within the information object.

Author(s)

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

References

http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs

See Also

getTypeInfo LoadTypeLib


omegahat/SWinTypeLibs documentation built on Jan. 17, 2024, 6:40 p.m.