|
|||||||||
| 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)
INativeTypeINativeObject from a INativeHandle.
createNative in interface INativeTypecreateNative in class NativeTypehandle - The handle to memory.
INativeObjectpublic INativeObject createNative(java.lang.Object value)
INativeTypeINativeObject for this type from the Java object.
createNative in interface INativeTypecreateNative in class NativeTypeINativeObjectpublic INativeType getBaseType()
public int getByteCount()
INativeType
getByteCount in interface INativeTypegetByteCount in class NativeTypepublic int getPreferredBoundary()
INativeType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||