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, getRuntime, getType, initialize, initialize, readFromNative, writeToNative |
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)
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-2013. All Rights Reserved.