org.bridj
Class CRuntime.CTypeInfo<T extends NativeObject>
java.lang.Object
org.bridj.CRuntime.CTypeInfo<T>
- All Implemented Interfaces:
- BridJRuntime.TypeInfo<T>
- Direct Known Subclasses:
- CPPRuntime.CPPTypeInfo
- Enclosing class:
- CRuntime
public class CRuntime.CTypeInfo<T extends NativeObject>
- extends Object
- implements BridJRuntime.TypeInfo<T>
CRuntime.CTypeInfo
public CRuntime.CTypeInfo(Type type)
sizeOf
public long sizeOf()
- Specified by:
sizeOf in interface BridJRuntime.TypeInfo<T extends NativeObject>
equal
public boolean equal(T instance,
T other)
- Specified by:
equal in interface BridJRuntime.TypeInfo<T extends NativeObject>
compare
public int compare(T instance,
T other)
- Specified by:
compare in interface BridJRuntime.TypeInfo<T extends NativeObject>
getRuntime
public BridJRuntime getRuntime()
- Specified by:
getRuntime in interface BridJRuntime.TypeInfo<T extends NativeObject>
getType
public Type getType()
- Specified by:
getType in interface BridJRuntime.TypeInfo<T extends NativeObject>
cast
public T cast(Pointer peer)
- Specified by:
cast in interface BridJRuntime.TypeInfo<T extends NativeObject>
createReturnInstance
public T createReturnInstance()
- Specified by:
createReturnInstance in interface BridJRuntime.TypeInfo<T extends NativeObject>
writeToNative
public void writeToNative(T instance)
- Specified by:
writeToNative in interface BridJRuntime.TypeInfo<T extends NativeObject>
readFromNative
public void readFromNative(T instance)
- Specified by:
readFromNative in interface BridJRuntime.TypeInfo<T extends NativeObject>
copyNativeObjectToAddress
public void copyNativeObjectToAddress(T instance,
Pointer<T> ptr)
- Specified by:
copyNativeObjectToAddress in interface BridJRuntime.TypeInfo<T extends NativeObject>
describe
public String describe(T instance)
- Specified by:
describe in interface BridJRuntime.TypeInfo<T extends NativeObject>
describe
public String describe()
- Specified by:
describe in interface BridJRuntime.TypeInfo<T extends NativeObject>
initialize
public void initialize(T instance)
- Specified by:
initialize in interface BridJRuntime.TypeInfo<T extends NativeObject>
initialize
public void initialize(T instance,
Pointer peer)
- Specified by:
initialize in interface BridJRuntime.TypeInfo<T extends NativeObject>
initialize
public void initialize(T instance,
int constructorId,
Object... args)
- Specified by:
initialize in interface BridJRuntime.TypeInfo<T extends NativeObject>
clone
public T clone(T instance)
throws CloneNotSupportedException
- Specified by:
clone in interface BridJRuntime.TypeInfo<T extends NativeObject>
- Throws:
CloneNotSupportedException
destroy
public void destroy(T instance)
- Specified by:
destroy in interface BridJRuntime.TypeInfo<T extends NativeObject>
Copyright © 2009-2013. All Rights Reserved.