INativeObject
public class NativeVoid extends NativeSimple
Modifier and Type | Field | Description |
---|---|---|
static NativeVoidType |
META |
The meta class instance
|
static NativeVoid |
NULL |
DEBUG, handle, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT
Modifier | Constructor | Description |
---|---|---|
|
NativeVoid() |
Create a new wrapper instance
|
protected |
NativeVoid(INativeHandle handle) |
Modifier and Type | Method | Description |
---|---|---|
static NativeVoid |
createFromAddress(long address) |
|
INativeType |
getNativeType() |
The meta information and behavior for the NativeObject.
|
java.lang.Object |
getValue() |
A Java side representation from the memory.
|
void |
setValue(java.lang.Object value) |
Assign (and marshall to memory) the Java side representation.
|
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedString
getByteCount
public static final NativeVoidType META
public static final NativeVoid NULL
public NativeVoid()
protected NativeVoid(INativeHandle handle)
public static NativeVoid createFromAddress(long address)
public INativeType getNativeType()
NativeObject
There is exactly one meta instance for all NativeObject instances of a certain type.
getNativeType
in interface INativeObject
getNativeType
in class NativeObject
public java.lang.Object getValue()
INativeObject
INativeObject
.public void setValue(java.lang.Object value)
INativeObject
value
- The new Java value.