INamedTypeLib-class: Class "INamedTypeLib" ~~~

INamedTypeLib-classR Documentation

Class "INamedTypeLib" ~~~

Description

This class is merely an "efficient" version of the ITypeLib-class that is used when making intensive use of the contents of the library. The idea is simply that we cache the commonly accessed elements of the library: the names of the elements, their UUIDs, the top-level ITypeInfo-class elements in the library. Then, we provide methods that replace the regular access to this information. In this way, we avoid recomputing the information repeatedly. When processing an entire type library as in a call to generateInterface, this can be very significant.

Objects from the Class

Objects should be created using the constructor link{INamedTypeLib} which computes the information from the regular ITypeLib-class object and caches it in the new object.

Slots

elNames:

Object of class "character" these are the names of the top-level elements of the type library. This is the same value as calling names on a regular ITypeLib-class object, but instead these are cached.

infoEls:

Object of class "list" ~~

uuids:

Object of class "character" ~~

ref:

Object of class "externalptr" inherited from ITypeLib-class.

fileName:

Object of class "character" inherited from ITypeLib-class.

Extends

Class "ITypeLib", directly.

Methods

[

signature(x = "INamedTypeLib", i = "numeric"):

[

signature(x = "INamedTypeLib", i = "character"):

[[

signature(x = "INamedTypeLib", i = "numeric"):

[[

signature(x = "INamedTypeLib", i = "character"): ...

getElements

signature(x = "INamedTypeLib"): ...

getTypeLibUUIDs

signature(lib = "INamedTypeLib"): ...

names

signature(x = "INamedTypeLib"): ...

show

signature(object = "INamedTypeLib"):

Author(s)

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

References

http://www.omegahat.org/SWinTypeLibs

See Also

ITypeLib-class generateInterface


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