Top Description Fields Constructors Methods
com.sun.jna.platform.win32.COM.tlb.imp

public abstract Class TlbAbstractMethod

extends TlbBase
implements Variant
Class Inheritance
All Implemented Interfaces
com.sun.jna.platform.win32.Variant
Known Direct Subclasses
com.sun.jna.platform.win32.COM.tlb.imp.TlbFunctionDispId, com.sun.jna.platform.win32.COM.tlb.imp.TlbFunctionStub, com.sun.jna.platform.win32.COM.tlb.imp.TlbFunctionVTable, com.sun.jna.platform.win32.COM.tlb.imp.TlbPropertyGet, com.sun.jna.platform.win32.COM.tlb.imp.TlbPropertyGetStub, com.sun.jna.platform.win32.COM.tlb.imp.TlbPropertyPut, com.sun.jna.platform.win32.COM.tlb.imp.TlbPropertyPutStub
Imports
com.sun.jna.Pointer, com.sun.jna.platform.win32.Guid.CLSID, .OaIdl, .OaIdl.CURRENCY, .OaIdl.DATE, .OaIdl.DECIMAL, .OaIdl.ELEMDESC, .OaIdl.FUNCDESC, .OaIdl.HREFTYPE, .OaIdl.MEMBERID, .OaIdl.TYPEDESC, .Variant, .WTypes.BSTR, .WTypes.LPSTR, .WTypes.LPWSTR, .WTypes.VARTYPE, .WinBase.FILETIME, .WinDef.BOOL, .WinDef.CHAR, .WinDef.INT_PTR, .WinDef.LONG, .WinDef.PVOID, .WinDef.SCODE, .WinDef.UCHAR, .WinDef.UINT, .WinDef.UINT_PTR, .WinDef.ULONG, .WinDef.USHORT, .WinNT.HRESULT, com.sun.jna.platform.win32.COM.IDispatch, .ITypeInfo, .IUnknown, .TypeInfoUtil, .TypeInfoUtil.TypeInfoDoc, .TypeLibUtil

The Class TlbFunction.
Author
Tobias Wolf, [email protected]

Field Summary

Modifier and TypeField and Description
protected String
protected OaIdl.MEMBERID
protected String
protected String
protected String
protected short
protected String
protected TypeInfoUtil.TypeInfoDoc
protected short
Inherited from com.sun.jna.platform.win32.COM.tlb.imp.TlbBase:
bindingModeclassBuffercontentCRCRCRfilenameIDISPATCH_METHODSindexIUNKNOWN_METHODSnameTABTABTABtemplateBuffertypeInfoUtiltypeLibUtil

Constructor Summary

AccessConstructor and Description
public
TlbAbstractMethod(int
the index
index
,
TypeLibUtil
the type lib util
typeLibUtil
,
OaIdl.FUNCDESC
the func desc
funcDesc
,
TypeInfoUtil
the type info util
typeInfoUtil
)

Instantiates a new tlb function.

Method Summary

Modifier and TypeMethod and Description
public String
public String
protected String
protected String
protected String
public TypeInfoUtil.TypeInfoDoc
protected String
protected String

Returns:

the var type
getVarType
(WTypes.VARTYPE
the vt
vt
)

Gets the var type.

protected String
Inherited from com.sun.jna.platform.win32.COM.tlb.imp.TlbBase:
createClassNamecreateContentcreatePackageNamegetClassBuffergetClassTemplategetFilenamegetNameisDispIdModeisReservedMethodisVTableModeloglogErrorlogInforeadTemplateFilereplaceVariablesetFilenamesetName

Field Detail

docStrback to summary
protected String docStr
memberidback to summary
protected OaIdl.MEMBERID memberid
methodNameback to summary
protected String methodName
methodparamsback to summary
protected String methodparams
methodvariablesback to summary
protected String methodvariables
paramCountback to summary
protected short paramCount
returnTypeback to summary
protected String returnType
typeInfoDocback to summary
protected TypeInfoUtil.TypeInfoDoc typeInfoDoc
vtableIdback to summary
protected short vtableId

Constructor Detail

TlbAbstractMethodback to summary
public TlbAbstractMethod(int index, TypeLibUtil typeLibUtil, OaIdl.FUNCDESC funcDesc, TypeInfoUtil typeInfoUtil)

Instantiates a new tlb function.

Parameters
index:int

the index

typeLibUtil:TypeLibUtil

the type lib util

funcDesc:OaIdl.FUNCDESC

the func desc

typeInfoUtil:TypeInfoUtil

the type info util

Method Detail

getDocStrback to summary
public String getDocStr()
getMethodNameback to summary
public String getMethodName()
getTypeback to summary
protected String getType(OaIdl.FUNCDESC funcDesc)
getTypeback to summary
protected String getType(OaIdl.ELEMDESC elemDesc)
getTypeback to summary
protected String getType(OaIdl.TYPEDESC typeDesc)
getTypeInfoDocback to summary
public TypeInfoUtil.TypeInfoDoc getTypeInfoDoc()
getUserdefinedTypeback to summary
protected String getUserdefinedType(OaIdl.HREFTYPE hreftype)
getVarTypeback to summary
protected String getVarType(WTypes.VARTYPE vt)

Gets the var type.

Parameters
vt:WTypes.VARTYPE

the vt

Returns:String

the var type

replaceJavaKeywordback to summary
protected String replaceJavaKeyword(String name)