getRefTypeName: Get the human-readable name of the interface identified by a...

View source: R/classes.S

getRefTypeNameR Documentation

Get the human-readable name of the interface identified by a reference type

Description

This function processes an object of class TypeDescriptionRef-class and finds the name of the human-readable type by looking up the UUID identified by the reference type and comparing it to those in the specified type library.

Usage

getRefTypeName(info, ref, lib, follow = !is.null(lib))

Arguments

info

the ITypeInfo-class object associated with TypeDescriptionRef. For instance, if the TypeDescriptionRef is obtained as the return type or parameter type in a method, the info is the ITypeInfo-class object from which the methods were retrieved.

ref

an object of class TypeDescriptionRef-class or its value (i.e. the reftype field)

lib

the type library, of class ITypeLib-class

follow

a logical value indicating whether to resolve the type information in its native library if it is not actually defined within lib, but just referenced there. This is passed to getRefTypeInfo

Value

A string (character vector of length 1) giving the name of the element in the type library identified by the reference type.

Author(s)

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

References

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

See Also

getRefTypeInfo getTypeLibUUIDs


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