public abstract class TlbAbstractMethod extends TlbBase implements Variant
Variant.VARIANT, Variant.VariantArg
Modifier and Type | Field and Description |
---|---|
protected String |
docStr |
protected OaIdl.MEMBERID |
memberid |
protected String |
methodName |
protected String |
methodparams |
protected String |
methodvariables |
protected short |
paramCount |
protected String |
returnType |
protected TypeInfoUtil.TypeInfoDoc |
typeInfoDoc |
protected short |
vtableId |
bindingMode, classBuffer, content, CR, CRCR, filename, IDISPATCH_METHODS, index, IUNKNOWN_METHODS, name, TAB, TABTAB, templateBuffer, typeInfoUtil, typeLibUtil
COM_DAYS_ADJUSTMENT, MICRO_SECONDS_PER_DAY, VARIANT_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 and Description |
---|
TlbAbstractMethod(int index,
TypeLibUtil typeLibUtil,
OaIdl.FUNCDESC funcDesc,
TypeInfoUtil typeInfoUtil)
Instantiates a new tlb function.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocStr() |
String |
getMethodName() |
protected String |
getType(OaIdl.ELEMDESC elemDesc) |
protected String |
getType(OaIdl.FUNCDESC funcDesc) |
protected String |
getType(OaIdl.TYPEDESC typeDesc) |
TypeInfoUtil.TypeInfoDoc |
getTypeInfoDoc() |
protected String |
getUserdefinedType(OaIdl.HREFTYPE hreftype) |
protected String |
getVarType(WTypes.VARTYPE vt)
Gets the var type.
|
protected String |
replaceJavaKeyword(String name) |
createClassName, createContent, createPackageName, getClassBuffer, getClassTemplate, getFilename, getName, isDispIdMode, isReservedMethod, isVTableMode, log, logError, logInfo, readTemplateFile, replaceVariable, setFilename, setName
protected TypeInfoUtil.TypeInfoDoc typeInfoDoc
protected String methodName
protected String docStr
protected short vtableId
protected OaIdl.MEMBERID memberid
protected short paramCount
protected String returnType
protected String methodparams
protected String methodvariables
public TlbAbstractMethod(int index, TypeLibUtil typeLibUtil, OaIdl.FUNCDESC funcDesc, TypeInfoUtil typeInfoUtil)
index
- the indextypeLibUtil
- the type lib utilfuncDesc
- the func desctypeInfoUtil
- the type info utilpublic TypeInfoUtil.TypeInfoDoc getTypeInfoDoc()
public String getMethodName()
public String getDocStr()
protected String getVarType(WTypes.VARTYPE vt)
vt
- the vtprotected String getUserdefinedType(OaIdl.HREFTYPE hreftype)
protected String getType(OaIdl.FUNCDESC funcDesc)
protected String getType(OaIdl.ELEMDESC elemDesc)
protected String getType(OaIdl.TYPEDESC typeDesc)