Class ITypeLib2Implementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.interopservices.comtypes.ITypeLib2Implementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ITypeLib
,ITypeLib2
public class ITypeLib2Implementation extends NetObject implements ITypeLib2
The base .NET class managing System.Runtime.InteropServices.ComTypes.ITypeLib2, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.ComTypes.ITypeLib2
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: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Runtime.InteropServices.ComTypes.ITypeLib2static JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ITypeLib2Implementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
FindName(java.lang.String szNameBuf, int lHashVal, JCORefOut<ITypeInfo[]> ppTInfo, JCORefOut rgMemId, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pcFound)
void
GetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal)
void
GetDocumentation(int index, JCORefOut strName, JCORefOut strDocString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> dwHelpContext, JCORefOut strHelpFile)
void
GetDocumentation2(int index, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll)
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
GetTypeComp(JCORefOut<ITypeComp> ppTComp)
void
GetTypeInfo(int index, JCORefOut<ITypeInfo> ppTI)
int
GetTypeInfoCount()
void
GetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo)
void
GetTypeInfoType(int index, JCORefOut<TYPEKIND> pTKind)
boolean
IsName(java.lang.String szNameBuf, int lHashVal)
static ITypeLib2
ToITypeLib2(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoITypeLib2
, 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=9.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.ITypeLib2- 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 interfaceITypeLib
- Specified by:
getJCOAssemblyName
in interfaceITypeLib2
- 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 interfaceITypeLib
- Specified by:
getJCOClassName
in interfaceITypeLib2
- 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 interfaceITypeLib
- Specified by:
getJCOObjectName
in interfaceITypeLib2
- 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 interfaceITypeLib
- Specified by:
getJCOInstance
in interfaceITypeLib2
- 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 interfaceITypeLib
- Specified by:
getJCOType
in interfaceITypeLib2
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToITypeLib2
public static ITypeLib2 ToITypeLib2(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoITypeLib2
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ITypeLib2
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
IsName
public boolean IsName(java.lang.String szNameBuf, int lHashVal) throws java.lang.Throwable
-
GetTypeInfoCount
public int GetTypeInfoCount() throws java.lang.Throwable
- Specified by:
GetTypeInfoCount
in interfaceITypeLib
- Specified by:
GetTypeInfoCount
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
FindName
public void FindName(java.lang.String szNameBuf, int lHashVal, JCORefOut<ITypeInfo[]> ppTInfo, JCORefOut rgMemId, JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> pcFound) throws java.lang.Throwable
-
GetCustData
public void GetCustData(JCORefOut<Guid> guid, JCORefOut<NetObject> pVarVal) throws java.lang.Throwable
- Specified by:
GetCustData
in interfaceITypeLib2
- 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 interfaceITypeLib
- Specified by:
GetDocumentation
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
GetDocumentation2
public void GetDocumentation2(int index, JCORefOut pbstrHelpString, JCORefOut<java.util.concurrent.atomic.AtomicInteger> pdwHelpStringContext, JCORefOut pbstrHelpStringDll) throws java.lang.Throwable
- Specified by:
GetDocumentation2
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
GetTypeComp
public void GetTypeComp(JCORefOut<ITypeComp> ppTComp) throws java.lang.Throwable
- Specified by:
GetTypeComp
in interfaceITypeLib
- Specified by:
GetTypeComp
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
GetTypeInfo
public void GetTypeInfo(int index, JCORefOut<ITypeInfo> ppTI) throws java.lang.Throwable
- Specified by:
GetTypeInfo
in interfaceITypeLib
- Specified by:
GetTypeInfo
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
GetTypeInfoOfGuid
public void GetTypeInfoOfGuid(JCORefOut<Guid> guid, JCORefOut<ITypeInfo> ppTInfo) throws java.lang.Throwable
- Specified by:
GetTypeInfoOfGuid
in interfaceITypeLib
- Specified by:
GetTypeInfoOfGuid
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
GetTypeInfoType
public void GetTypeInfoType(int index, JCORefOut<TYPEKIND> pTKind) throws java.lang.Throwable
- Specified by:
GetTypeInfoType
in interfaceITypeLib
- Specified by:
GetTypeInfoType
in interfaceITypeLib2
- Throws:
java.lang.Throwable
-
-