public class NativeWideString extends NativeObject
| Modifier and Type | Field and Description |
|---|---|
static NativeWideStringType |
META
The meta class instance
|
DEBUG, handle, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT| Modifier | Constructor and Description |
|---|---|
protected |
NativeWideString(NativeWideStringType pType) |
protected |
NativeWideString(NativeWideStringType pType,
INativeHandle handle) |
protected |
NativeWideString(NativeWideStringType pType,
java.lang.String value) |
|
NativeWideString(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
static NativeWideString |
createFromAddress(long address) |
int |
getByteCount()
The number of bytes occupied by this.
|
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.
|
void |
setValue(java.lang.String value) |
java.lang.String |
stringValue()
The java object corresponding to this.
|
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedStringpublic static final NativeWideStringType META
protected NativeWideString(NativeWideStringType pType)
protected NativeWideString(NativeWideStringType pType, INativeHandle handle)
protected NativeWideString(NativeWideStringType pType, java.lang.String value)
public NativeWideString(java.lang.String value)
public static NativeWideString createFromAddress(long address)
public int getByteCount()
NativeObjectgetByteCount in class NativeObjectpublic INativeType getNativeType()
NativeObjectThere is exactly one meta instance for all NativeObject instances of a certain type.
getNativeType in interface INativeObjectgetNativeType in class NativeObjectpublic java.lang.Object getValue()
INativeObjectINativeObject.public void setValue(java.lang.Object value)
INativeObjectvalue - The new Java value.public void setValue(java.lang.String value)
public java.lang.String stringValue()