INamedTypeLib-class {SWinTypeLibs} | R Documentation |
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 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.
elNames
:"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
:"list"
~~ uuids
:"character"
~~ ref
:"externalptr"
inherited from
ITypeLib-class
. fileName
:"character"
inherited from
ITypeLib-class
.
Class "ITypeLib"
, directly.
signature(x = "INamedTypeLib", i = "numeric")
: signature(x = "INamedTypeLib", i = "character")
: signature(x = "INamedTypeLib", i = "numeric")
: signature(x = "INamedTypeLib", i = "character")
: ... signature(x = "INamedTypeLib")
: ... signature(lib = "INamedTypeLib")
: ... signature(x = "INamedTypeLib")
: ... signature(object = "INamedTypeLib")
: Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/SWinTypeLibs
ITypeLib-class
generateInterface