INativeTypeNativeAbstractStringType, NativeArrayType, NativeBufferType, NativeReferenceType, NativeSimpleType, NativeStructTypepublic abstract class NativeType extends java.lang.Object implements INativeType
INativeType implementations| Modifier | Constructor | Description |
|---|---|---|
protected |
NativeType() |
|
protected |
NativeType(java.lang.Class<?> instanceClass) |
| Modifier and Type | Method | Description |
|---|---|---|
INativeType |
Array(int size) |
Create a Declaration that represents an array of this.
|
INativeObject |
createNative(INativeHandle handle) |
Create a new
INativeObject from a INativeHandle. |
INativeObject |
createNative(java.lang.Object value) |
Create an
INativeObject for this type from the Java object. |
int |
getByteCount() |
The size of the type in c memory.
|
static INativeType |
lookup(java.lang.Class<?> clazz) |
|
INativeType |
Ref() |
Create a Declaration that represents a reference to this.
|
static void |
register(java.lang.Class<?> clazz,
INativeType type) |
getPreferredBoundaryprotected NativeType()
protected NativeType(java.lang.Class<?> instanceClass)
public static INativeType lookup(java.lang.Class<?> clazz)
public static void register(java.lang.Class<?> clazz,
INativeType type)
public INativeType Array(int size)
Array in interface INativeTypesize - The predefined size for the array.public INativeObject createNative(INativeHandle handle)
INativeTypeINativeObject from a INativeHandle.createNative in interface INativeTypehandle - The handle to memory.INativeObjectpublic INativeObject createNative(java.lang.Object value)
INativeTypeINativeObject for this type from the Java object.createNative in interface INativeTypeINativeObjectpublic int getByteCount()
INativeTypegetByteCount in interface INativeTypepublic INativeType Ref()
Ref in interface INativeType