org.bridj.cpp
Class CPPRuntime.CPPTypeInfo<T extends CPPObject>
java.lang.Object
org.bridj.CRuntime.CTypeInfo<T>
org.bridj.cpp.CPPRuntime.CPPTypeInfo<T>
- All Implemented Interfaces:
- BridJRuntime.TypeInfo<T>
- Enclosing class:
- CPPRuntime
public class CPPRuntime.CPPTypeInfo<T extends CPPObject>
- extends CRuntime.CTypeInfo<T>
Methods inherited from class org.bridj.CRuntime.CTypeInfo |
compare, copyNativeObjectToAddress, describe, describe, equal, getCastClass, getRuntime, getType, initialize, initialize, newCastInstance, readFromNative, writeToNative |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPPRuntime.CPPTypeInfo
public CPPRuntime.CPPTypeInfo(Type type)
resolveClassType
public Type resolveClassType(CPPObject instance,
TypeVariable<?> var)
resolveMethodType
public Type resolveMethodType(CPPObject instance,
Object[] methodTemplateParameters,
TypeVariable<?> var)
getClassTypeVariableExtractor
protected CPPRuntime.ClassTypeVariableExtractor getClassTypeVariableExtractor(TypeVariable<Class<?>> var)
getMethodTypeVariableExtractor
protected CPPRuntime.MethodTypeVariableExtractor getMethodTypeVariableExtractor(TypeVariable<?> var)
sizeOf
public long sizeOf()
- Specified by:
sizeOf
in interface BridJRuntime.TypeInfo<T extends CPPObject>
- Overrides:
sizeOf
in class CRuntime.CTypeInfo<T extends CPPObject>
createReturnInstance
public T createReturnInstance()
- Specified by:
createReturnInstance
in interface BridJRuntime.TypeInfo<T extends CPPObject>
- Overrides:
createReturnInstance
in class CRuntime.CTypeInfo<T extends CPPObject>
cast
public T cast(Pointer peer)
- Specified by:
cast
in interface BridJRuntime.TypeInfo<T extends CPPObject>
- Overrides:
cast
in class CRuntime.CTypeInfo<T extends CPPObject>
initialize
public void initialize(T instance,
int constructorId,
Object... args)
- Specified by:
initialize
in interface BridJRuntime.TypeInfo<T extends CPPObject>
- Overrides:
initialize
in class CRuntime.CTypeInfo<T extends CPPObject>
clone
public T clone(T instance)
throws CloneNotSupportedException
- Specified by:
clone
in interface BridJRuntime.TypeInfo<T extends CPPObject>
- Overrides:
clone
in class CRuntime.CTypeInfo<T extends CPPObject>
- Throws:
CloneNotSupportedException
destroy
public void destroy(T instance)
- Specified by:
destroy
in interface BridJRuntime.TypeInfo<T extends CPPObject>
- Overrides:
destroy
in class CRuntime.CTypeInfo<T extends CPPObject>
Copyright © 2009-2012. All Rights Reserved.