INamedTypeLib: Create instance of INamedTypeLib class from regular ITypeLib

View source: R/generate.S

INamedTypeLibR Documentation

Create instance of INamedTypeLib class from regular ITypeLib

Description

This is a constructor function to create an instance of the INamedTypeLib-class which maintains a cache of its components: names, UUIDs and ITypeInfo-class elements. It takes a regular ITypeLib-class object and creates the cached version that can be used in its place. The cache avoids recomputing the same elements repeatedly.

Usage

INamedTypeLib(lib)

Arguments

lib

an object of class ITypeLib-class.

Value

An instance of the class INamedTypeLib-class.

Author(s)

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

References

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

See Also

ITypeLib-class LoadTypeLib This is used in generateInterface as we make intensive use of the library's contents and so caching improves performance.


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