|
|||||||
| 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.Pointer.Void
Class Pointer.Void represents a void *. This pointer can be
used for parameters where the referenced object type/size is not known or
is of no interest for the client
| Field Summary |
| Fields inherited from class com.smardec.j2native.Argument |
JAVA_SIDE, NATIVE_SIDE |
| Constructor Summary | |
Pointer.Void()
Constructs a new null pointer. |
|
Pointer.Void(long handle)
Constructs a new void pointer that has the given value. |
|
| Method Summary | |
Argument |
getReferencedArgument()
Returns the referenced object of this pointer |
long |
getValue()
Returns native memory handle |
boolean |
isNull()
Tests if this pointer is null. |
void |
setValue(long handle)
Sets memory handle |
| Methods inherited from class com.smardec.j2native.PointerArgument |
fromBytesValue, getLength, isFixedLength, read, readFromStack, toBytesValue, toBytesValue, write, writeToStack |
| Methods inherited from class com.smardec.j2native.Argument |
clone, finalize, free, getAlignedLength, getResultFlags, readFromRAM, restoreFromRAM, storeToRAM, update, writeToRAM |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pointer.Void()
public Pointer.Void(long handle)
handle - memory handle| Method Detail |
public boolean isNull()
PointerType
public long getValue()
PointerType
public void setValue(long handle)
PointerType
handle - memory handlepublic Argument getReferencedArgument()
PointerType
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||