public class CPPRuntime.CPPTypeInfo<T extends CPPObject> extends CRuntime.CTypeInfo<T>
Constructor and Description |
---|
CPPTypeInfo(Type type) |
Modifier and Type | Method and Description |
---|---|
T |
cast(Pointer peer) |
T |
clone(T instance) |
T |
createReturnInstance() |
void |
destroy(T instance) |
void |
initialize(T instance,
int constructorId,
Object... targsAndArgs) |
void |
initialize(T instance,
Pointer peer) |
Type |
resolveClassType(CPPObject instance,
TypeVariable<?> var) |
Type |
resolveMethodType(CPPObject instance,
Object[] methodTemplateParameters,
TypeVariable<?> var) |
long |
sizeOf() |
compare, copyNativeObjectToAddress, describe, describe, equal, getRuntime, getType, initialize, readFromNative, writeToNative
public CPPTypeInfo(Type type)
public Type resolveClassType(CPPObject instance, TypeVariable<?> var)
public Type resolveMethodType(CPPObject instance, Object[] methodTemplateParameters, TypeVariable<?> var)
public long sizeOf()
sizeOf
in interface BridJRuntime.TypeInfo<T extends CPPObject>
sizeOf
in class CRuntime.CTypeInfo<T extends CPPObject>
public T createReturnInstance()
createReturnInstance
in interface BridJRuntime.TypeInfo<T extends CPPObject>
createReturnInstance
in class CRuntime.CTypeInfo<T extends CPPObject>
public T cast(Pointer peer)
cast
in interface BridJRuntime.TypeInfo<T extends CPPObject>
cast
in class CRuntime.CTypeInfo<T extends CPPObject>
public void initialize(T instance, Pointer peer)
initialize
in interface BridJRuntime.TypeInfo<T extends CPPObject>
initialize
in class CRuntime.CTypeInfo<T extends CPPObject>
public void initialize(T instance, int constructorId, Object... targsAndArgs)
initialize
in interface BridJRuntime.TypeInfo<T extends CPPObject>
initialize
in class CRuntime.CTypeInfo<T extends CPPObject>
public T clone(T instance) throws CloneNotSupportedException
clone
in interface BridJRuntime.TypeInfo<T extends CPPObject>
clone
in class CRuntime.CTypeInfo<T extends CPPObject>
CloneNotSupportedException
public void destroy(T instance)
destroy
in interface BridJRuntime.TypeInfo<T extends CPPObject>
destroy
in class CRuntime.CTypeInfo<T extends CPPObject>
Copyright © 2009-2020. All Rights Reserved.