|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.nativec.type.NativeType
public abstract class NativeType
A common superclass for INativeType
implementations
Constructor Summary | |
---|---|
protected |
NativeType()
|
protected |
NativeType(java.lang.Class<?> instanceClass)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.intarsys.nativec.type.INativeType |
---|
getPreferredBoundary |
Constructor Detail |
---|
protected NativeType()
protected NativeType(java.lang.Class<?> instanceClass)
Method Detail |
---|
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 INativeType
size
- The predefined size for the array.
public INativeObject createNative(INativeHandle handle)
INativeType
INativeObject
from a INativeHandle
.
createNative
in interface INativeType
handle
- The handle to memory.
INativeObject
public INativeObject createNative(java.lang.Object value)
INativeType
INativeObject
for this type from the Java object.
createNative
in interface INativeType
INativeObject
public int getByteCount()
INativeType
getByteCount
in interface INativeType
public INativeType Ref()
Ref
in interface INativeType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |