|
|||||||
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 | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
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 |
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 handleMethod Detail |
public boolean isNull()
PointerType
public long getValue()
PointerType
public void setValue(long handle)
PointerType
handle
- memory handlepublic Argument getReferencedArgument()
PointerType
public java.lang.Object clone()
Argument
clone
in class Argument
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |