Class ITypeInfo2Implementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.interopservices.comtypes.ITypeInfo2Implementation
-
- All Implemented Interfaces:
IJCOBridgeReflected,ITypeInfo,ITypeInfo2
public class ITypeInfo2Implementation extends NetObject implements ITypeInfo2
The base .NET class managing System.Runtime.InteropServices.ComTypes.ITypeInfo2, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.ComTypes.ITypeInfo2
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Runtime.InteropServices.ComTypes.ITypeInfo2static org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ITypeInfo2Implementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidCreateInstance(NetObject pUnkOuter, JCORefOut<Guid> riid, JCORefOut<NetObject> ppvObj)voidGetContainingTypeLib(JCORefOut<ITypeLib> ppTLB, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pIndex)voidGetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)voidGetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile)voidGetDocumentation2(int memid, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll)voidGetFuncCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)voidGetFuncIndexOfMemId(int memid, INVOKEKIND invKind, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pFuncIndex)voidGetIDsOfNames(java.lang.String[] rgszNames, int cNames, JCORefOut pMemId)voidGetImplTypeCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)voidGetImplTypeFlags(int index, JCORefOut<IMPLTYPEFLAGS> pImplTypeFlags)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypevoidGetMops(int memid, JCORefOut pBstrMops)voidGetNames(int memid, JCORefOut rgBstrNames, int cMaxNames, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pcNames)voidGetParamCustData(int indexFunc, int indexParam, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)voidGetRefTypeInfo(int hRef, JCORefOut<ITypeInfo> ppTI)voidGetRefTypeOfImplType(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> href)voidGetTypeComp(JCORefOut<ITypeComp> ppTComp)voidGetTypeFlags(JCORefOut<java.util.concurrent.atomic.AtomicInteger> pTypeFlags)voidGetTypeKind(JCORefOut<TYPEKIND> pTypeKind)voidGetVarCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)voidGetVarIndexOfMemId(int memid, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pVarIndex)static ITypeInfo2ToITypeInfo2(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoITypeInfo2, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.InteropServices.ComTypes.ITypeInfo2- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceITypeInfo- Specified by:
getJCOAssemblyNamein interfaceITypeInfo2- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceITypeInfo- Specified by:
getJCOClassNamein interfaceITypeInfo2- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceITypeInfo- Specified by:
getJCOObjectNamein interfaceITypeInfo2- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceITypeInfo- Specified by:
getJCOInstancein interfaceITypeInfo2- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceITypeInfo- Specified by:
getJCOTypein interfaceITypeInfo2- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToITypeInfo2
public static ITypeInfo2 ToITypeInfo2(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoITypeInfo2, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ITypeInfo2instance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateInstance
public void CreateInstance(NetObject pUnkOuter, JCORefOut<Guid> riid, JCORefOut<NetObject> ppvObj) throws java.lang.Throwable
- Specified by:
CreateInstancein interfaceITypeInfo- Specified by:
CreateInstancein interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetContainingTypeLib
public void GetContainingTypeLib(JCORefOut<ITypeLib> ppTLB, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pIndex) throws java.lang.Throwable
- Specified by:
GetContainingTypeLibin interfaceITypeInfo- Specified by:
GetContainingTypeLibin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetCustData
public void GetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Specified by:
GetCustDatain interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetDocumentation
public void GetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile) throws java.lang.Throwable- Specified by:
GetDocumentationin interfaceITypeInfo- Specified by:
GetDocumentationin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetDocumentation2
public void GetDocumentation2(int memid, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll) throws java.lang.Throwable- Specified by:
GetDocumentation2in interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetFuncCustData
public void GetFuncCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable- Specified by:
GetFuncCustDatain interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetFuncIndexOfMemId
public void GetFuncIndexOfMemId(int memid, INVOKEKIND invKind, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pFuncIndex) throws java.lang.Throwable- Specified by:
GetFuncIndexOfMemIdin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetIDsOfNames
public void GetIDsOfNames(java.lang.String[] rgszNames, int cNames, JCORefOut pMemId) throws java.lang.Throwable- Specified by:
GetIDsOfNamesin interfaceITypeInfo- Specified by:
GetIDsOfNamesin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetImplTypeCustData
public void GetImplTypeCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable- Specified by:
GetImplTypeCustDatain interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetImplTypeFlags
public void GetImplTypeFlags(int index, JCORefOut<IMPLTYPEFLAGS> pImplTypeFlags) throws java.lang.Throwable- Specified by:
GetImplTypeFlagsin interfaceITypeInfo- Specified by:
GetImplTypeFlagsin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetMops
public void GetMops(int memid, JCORefOut pBstrMops) throws java.lang.Throwable- Specified by:
GetMopsin interfaceITypeInfo- Specified by:
GetMopsin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetNames
public void GetNames(int memid, JCORefOut rgBstrNames, int cMaxNames, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pcNames) throws java.lang.Throwable- Specified by:
GetNamesin interfaceITypeInfo- Specified by:
GetNamesin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetParamCustData
public void GetParamCustData(int indexFunc, int indexParam, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable- Specified by:
GetParamCustDatain interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetRefTypeInfo
public void GetRefTypeInfo(int hRef, JCORefOut<ITypeInfo> ppTI) throws java.lang.Throwable- Specified by:
GetRefTypeInfoin interfaceITypeInfo- Specified by:
GetRefTypeInfoin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetRefTypeOfImplType
public void GetRefTypeOfImplType(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> href) throws java.lang.Throwable- Specified by:
GetRefTypeOfImplTypein interfaceITypeInfo- Specified by:
GetRefTypeOfImplTypein interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetTypeComp
public void GetTypeComp(JCORefOut<ITypeComp> ppTComp) throws java.lang.Throwable
- Specified by:
GetTypeCompin interfaceITypeInfo- Specified by:
GetTypeCompin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetTypeFlags
public void GetTypeFlags(JCORefOut<java.util.concurrent.atomic.AtomicInteger> pTypeFlags) throws java.lang.Throwable
- Specified by:
GetTypeFlagsin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetTypeKind
public void GetTypeKind(JCORefOut<TYPEKIND> pTypeKind) throws java.lang.Throwable
- Specified by:
GetTypeKindin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetVarCustData
public void GetVarCustData(int index, JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable- Specified by:
GetVarCustDatain interfaceITypeInfo2- Throws:
java.lang.Throwable
-
GetVarIndexOfMemId
public void GetVarIndexOfMemId(int memid, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pVarIndex) throws java.lang.Throwable- Specified by:
GetVarIndexOfMemIdin interfaceITypeInfo2- Throws:
java.lang.Throwable
-
-