|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.PointerArgument
|
+--com.smardec.j2native.TypedPointer
|
+--com.smardec.j2native.Pointer
Pointer class represents a pointer to object in
terms of C language. Pointer type is defined by its referenced object.
For example, an int pointer (int *) is a Pointer to Int.
Int value = new Int(); Pointer pValue = new Pointer(value); // this is int*
| Nested Class Summary | |
static class |
Pointer.Const
Class Pointer.Const represents a pointer to constant object |
static class |
Pointer.OutOnly
Class Pointer.OutOnly represents a pointer to out only object. |
static class |
Pointer.Void
Class Pointer.Void represents a void *. |
| Field Summary |
| Fields inherited from class com.smardec.j2native.Argument |
JAVA_SIDE, NATIVE_SIDE |
| Constructor Summary | |
Pointer(Argument refArgument)
Constructs a new pointer to a given object. |
|
| Methods inherited from class com.smardec.j2native.TypedPointer |
getAt, getAt, getReferencedArgument, getValue, isNull, read, readFromStack, setReferencedArgument, setValue, update, write, writeToStack |
| Methods inherited from class com.smardec.j2native.PointerArgument |
fromBytesValue, getLength, isFixedLength, toBytesValue, toBytesValue |
| Methods inherited from class com.smardec.j2native.Argument |
clone, finalize, free, getAlignedLength, getResultFlags, readFromRAM, restoreFromRAM, storeToRAM, writeToRAM |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pointer(Argument refArgument)
refArgument - referenced object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||