ExternalClassDefinition-class: ExternalClassDefinition for representing referenced DCOM...

ExternalClassDefinition-classR Documentation

ExternalClassDefinition for representing referenced DCOM types in other libraries.

Description

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

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.

Slots

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.

Extends

Class "NamedClassDefinition", directly. Class "ClassDefinition", by class "NamedClassDefinition". This extends NamedClassDefinition merely to inherit the show method so that it prints correctly.

Methods

No public methods defined with class "ExternalClassDefinition" in the signature.

Author(s)

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

References

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

See Also

ClassDefinition-class NamedClassDefinition-class InlineClassDefinition-class

generateClass generateInterface


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