|
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
de.intarsys.nativec.type.NativeArrayType
public class NativeArrayType
The type for a NativeArray
| Method Summary | |
|---|---|
static NativeArrayType |
create(INativeType baseType,
int size)
|
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 |
getArraySize()
|
int |
getBaseSize()
|
INativeType |
getBaseType()
|
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. |
| Methods inherited from class de.intarsys.nativec.type.NativeType |
|---|
Array, lookup, Ref, register |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NativeArrayType create(INativeType baseType,
int size)
public INativeObject createNative(INativeHandle handle)
INativeTypeINativeObject from a INativeHandle.
createNative in interface INativeTypecreateNative in class NativeTypehandle - The handle to memory.
INativeObjectpublic INativeObject createNative(Object value)
INativeTypeINativeObject for this type from the Java object.
createNative in interface INativeTypecreateNative in class NativeTypeINativeObjectpublic int getArraySize()
public int getBaseSize()
public INativeType getBaseType()
public int getPreferredBoundary()
INativeType
getPreferredBoundary in interface INativeTypegetPreferredBoundary in class NativeTypepublic int getByteCount()
INativeType
getByteCount in interface INativeTypegetByteCount in class NativeType
|
intarsys nativeC library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||