|
|||||||||
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.NativeReferenceType
public class NativeReferenceType
A declaration for a slot containing a reference to a native object.
Constructor Summary | |
---|---|
protected |
NativeReferenceType(INativeType baseDeclaration)
Declare a reference to a base type |
Method Summary | |
---|---|
static NativeReferenceType |
create(INativeType baseType)
|
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. |
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 NativeReferenceType(INativeType baseDeclaration)
Method Detail |
---|
public static NativeReferenceType create(INativeType baseType)
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 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 |