|
intarsys nativeC library | |||||||||
| 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
| 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(Object value)
Create an INativeObject for this type from the Java object. |
int |
getByteCount()
The size of the type in c memory. |
int |
getPreferredBoundary()
The boundary where this type as a struct member would want to be aligned. |
static INativeType |
lookup(Class clazz)
|
INativeType |
Ref()
Create a Declaration that represents a reference to this. |
static void |
register(Class clazz,
INativeType type)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static INativeType lookup(Class clazz)
public static void register(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(Object value)
INativeTypeINativeObject for this type from the Java object.
createNative in interface INativeTypeINativeObjectpublic int getPreferredBoundary()
INativeType
getPreferredBoundary in interface INativeTypepublic int getByteCount()
INativeType
getByteCount in interface INativeTypepublic INativeType Ref()
Ref in interface INativeType
|
intarsys nativeC library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||