|
|||||||||
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
Constructor Summary | |
---|---|
protected |
NativeArrayType(INativeType baseDeclaration,
int arraySize)
|
Method Summary | |
---|---|
static NativeArrayType |
create(INativeType baseType,
int size)
|
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 |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NativeArrayType(INativeType baseDeclaration, int arraySize)
Method Detail |
---|
public static NativeArrayType create(INativeType baseType, int size)
public INativeObject createNative(INativeHandle handle)
INativeType
INativeObject
from a INativeHandle
.
createNative
in interface INativeType
createNative
in class NativeType
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
createNative
in class NativeType
INativeObject
public int getArraySize()
public int getBaseSize()
public INativeType getBaseType()
public int getByteCount()
INativeType
getByteCount
in interface INativeType
getByteCount
in class NativeType
public int getPreferredBoundary()
INativeType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |