Package system.runtime.interopservices
Class UCOMITypeInfoImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.interopservices.UCOMITypeInfoImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,UCOMITypeInfo
public class UCOMITypeInfoImplementation extends NetObject implements UCOMITypeInfo
The base .NET class managing System.Runtime.InteropServices.UCOMITypeInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.UCOMITypeInfo
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.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic java.lang.String
className
Qualified class name: System.Runtime.InteropServices.UCOMITypeInfostatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description UCOMITypeInfoImplementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
CreateInstance(NetObject pUnkOuter, JCORefOut<Guid> riid, JCORefOut<NetObject> ppvObj)
void
GetContainingTypeLib(JCORefOut<UCOMITypeLib> ppTLB, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pIndex)
void
GetDllEntry(int memid, INVOKEKIND invKind, JCORefOut pBstrDllName, JCORefOut pBstrName, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pwOrdinal)
void
GetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile)
void
GetIDsOfNames(java.lang.String[] rgszNames, int cNames, JCORefOut pMemId)
void
GetImplTypeFlags(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pImplTypeFlags)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
GetMops(int memid, JCORefOut pBstrMops)
void
GetNames(int memid, JCORefOut rgBstrNames, int cMaxNames, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pcNames)
void
GetRefTypeInfo(int hRef, JCORefOut<UCOMITypeInfo> ppTI)
void
GetRefTypeOfImplType(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> href)
void
GetTypeComp(JCORefOut<UCOMITypeComp> ppTComp)
static UCOMITypeInfo
ToUCOMITypeInfo(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoUCOMITypeInfo
, 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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.InteropServices.UCOMITypeInfo- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceUCOMITypeInfo
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceUCOMITypeInfo
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceUCOMITypeInfo
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceUCOMITypeInfo
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceUCOMITypeInfo
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToUCOMITypeInfo
public static UCOMITypeInfo ToUCOMITypeInfo(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoUCOMITypeInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
UCOMITypeInfo
instance- 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:
CreateInstance
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetContainingTypeLib
public void GetContainingTypeLib(JCORefOut<UCOMITypeLib> ppTLB, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pIndex) throws java.lang.Throwable
- Specified by:
GetContainingTypeLib
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetDllEntry
public void GetDllEntry(int memid, INVOKEKIND invKind, JCORefOut pBstrDllName, JCORefOut pBstrName, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pwOrdinal) throws java.lang.Throwable
- Specified by:
GetDllEntry
in interfaceUCOMITypeInfo
- 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:
GetDocumentation
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetIDsOfNames
public void GetIDsOfNames(java.lang.String[] rgszNames, int cNames, JCORefOut pMemId) throws java.lang.Throwable
- Specified by:
GetIDsOfNames
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetImplTypeFlags
public void GetImplTypeFlags(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pImplTypeFlags) throws java.lang.Throwable
- Specified by:
GetImplTypeFlags
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetMops
public void GetMops(int memid, JCORefOut pBstrMops) throws java.lang.Throwable
- Specified by:
GetMops
in interfaceUCOMITypeInfo
- 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:
GetNames
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetRefTypeInfo
public void GetRefTypeInfo(int hRef, JCORefOut<UCOMITypeInfo> ppTI) throws java.lang.Throwable
- Specified by:
GetRefTypeInfo
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetRefTypeOfImplType
public void GetRefTypeOfImplType(int index, JCORefOut<java.util.concurrent.atomic.AtomicInteger> href) throws java.lang.Throwable
- Specified by:
GetRefTypeOfImplType
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
GetTypeComp
public void GetTypeComp(JCORefOut<UCOMITypeComp> ppTComp) throws java.lang.Throwable
- Specified by:
GetTypeComp
in interfaceUCOMITypeInfo
- Throws:
java.lang.Throwable
-
-