Class TlbAbstractMethod
- java.lang.Object
- 
- com.sun.jna.platform.win32.COM.tlb.imp.TlbBase
- 
- com.sun.jna.platform.win32.COM.tlb.imp.TlbAbstractMethod
 
 
- 
- All Implemented Interfaces:
- Variant
 - Direct Known Subclasses:
- TlbFunctionDispId,- TlbFunctionStub,- TlbFunctionVTable,- TlbPropertyGet,- TlbPropertyGetStub,- TlbPropertyPut,- TlbPropertyPutStub
 
 public abstract class TlbAbstractMethod extends TlbBase implements Variant The Class TlbFunction.- Author:
- Tobias Wolf, wolf.tobias@gmx.net
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.sun.jna.platform.win32.VariantVariant.VARIANT, Variant.VariantArg
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringdocStrprotected OaIdl.MEMBERIDmemberidprotected java.lang.StringmethodNameprotected java.lang.Stringmethodparamsprotected java.lang.Stringmethodvariablesprotected shortparamCountprotected java.lang.StringreturnTypeprotected TypeInfoUtil.TypeInfoDoctypeInfoDocprotected shortvtableId- 
Fields inherited from class com.sun.jna.platform.win32.COM.tlb.imp.TlbBasebindingMode, classBuffer, content, CR, CRCR, filename, IDISPATCH_METHODS, index, IUNKNOWN_METHODS, name, TAB, TABTAB, templateBuffer, typeInfoUtil, typeLibUtil
 - 
Fields inherited from interface com.sun.jna.platform.win32.VariantVARIANT_FALSE, VARIANT_TRUE, VT_ARRAY, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_BSTR_BLOB, VT_BYREF, VT_CARRAY, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_DECIMAL, VT_DISPATCH, VT_EMPTY, VT_ERROR, VT_FILETIME, VT_HRESULT, VT_I1, VT_I2, VT_I4, VT_I8, VT_ILLEGAL, VT_ILLEGALMASKED, VT_INT, VT_INT_PTR, VT_LPSTR, VT_LPWSTR, VT_NULL, VT_PTR, VT_R4, VT_R8, VT_RECORD, VT_RESERVED, VT_SAFEARRAY, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_TYPEMASK, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_UINT, VT_UINT_PTR, VT_UNKNOWN, VT_USERDEFINED, VT_VARIANT, VT_VECTOR, VT_VERSIONED_STREAM, VT_VOID
 
- 
 - 
Constructor SummaryConstructors Constructor Description TlbAbstractMethod(int index, TypeLibUtil typeLibUtil, OaIdl.FUNCDESC funcDesc, TypeInfoUtil typeInfoUtil)Instantiates a new tlb function.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDocStr()java.lang.StringgetMethodName()protected java.lang.StringgetType(OaIdl.ELEMDESC elemDesc)protected java.lang.StringgetType(OaIdl.FUNCDESC funcDesc)protected java.lang.StringgetType(OaIdl.TYPEDESC typeDesc)TypeInfoUtil.TypeInfoDocgetTypeInfoDoc()protected java.lang.StringgetUserdefinedType(OaIdl.HREFTYPE hreftype)protected java.lang.StringgetVarType(WTypes.VARTYPE vt)Gets the var type.protected java.lang.StringreplaceJavaKeyword(java.lang.String name)- 
Methods inherited from class com.sun.jna.platform.win32.COM.tlb.imp.TlbBasecreateClassName, createContent, createPackageName, getClassBuffer, getClassTemplate, getFilename, getName, isDispIdMode, isReservedMethod, isVTableMode, log, logError, logInfo, readTemplateFile, replaceVariable, setFilename, setName
 
- 
 
- 
- 
- 
Field Detail- 
typeInfoDocprotected TypeInfoUtil.TypeInfoDoc typeInfoDoc 
 - 
methodNameprotected java.lang.String methodName 
 - 
docStrprotected java.lang.String docStr 
 - 
vtableIdprotected short vtableId 
 - 
memberidprotected OaIdl.MEMBERID memberid 
 - 
paramCountprotected short paramCount 
 - 
returnTypeprotected java.lang.String returnType 
 - 
methodparamsprotected java.lang.String methodparams 
 - 
methodvariablesprotected java.lang.String methodvariables 
 
- 
 - 
Constructor Detail- 
TlbAbstractMethodpublic TlbAbstractMethod(int index, TypeLibUtil typeLibUtil, OaIdl.FUNCDESC funcDesc, TypeInfoUtil typeInfoUtil)Instantiates a new tlb function.- Parameters:
- index- the index
- typeLibUtil- the type lib util
- funcDesc- the func desc
- typeInfoUtil- the type info util
 
 
- 
 - 
Method Detail- 
getTypeInfoDocpublic TypeInfoUtil.TypeInfoDoc getTypeInfoDoc() 
 - 
getMethodNamepublic java.lang.String getMethodName() 
 - 
getDocStrpublic java.lang.String getDocStr() 
 - 
getVarTypeprotected java.lang.String getVarType(WTypes.VARTYPE vt) Gets the var type.- Parameters:
- vt- the vt
- Returns:
- the var type
 
 - 
getUserdefinedTypeprotected java.lang.String getUserdefinedType(OaIdl.HREFTYPE hreftype) 
 - 
getTypeprotected java.lang.String getType(OaIdl.FUNCDESC funcDesc) 
 - 
getTypeprotected java.lang.String getType(OaIdl.ELEMDESC elemDesc) 
 - 
getTypeprotected java.lang.String getType(OaIdl.TYPEDESC typeDesc) 
 - 
replaceJavaKeywordprotected java.lang.String replaceJavaKeyword(java.lang.String name) 
 
- 
 
-