|
intarsys nativeC library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeSimple
de.intarsys.nativec.type.NativeWideString
public class NativeWideString
A wrapper for a C wide (double byte) string.
Field Summary | |
---|---|
static NativeWideStringType |
META
The meta class instance |
Fields inherited from class de.intarsys.nativec.type.NativeObject |
---|
DEBUG, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_SHORT |
Constructor Summary | |
---|---|
NativeWideString(String value)
|
Method Summary | |
---|---|
static NativeWideString |
createFromAddress(long address)
|
int |
getByteCount()
The number of bytes occupied by this. |
INativeType |
getNativeType()
The meta information and behavior for the NativeObject. |
Object |
getValue()
A Java side representation from the memory. |
void |
setValue(Object value)
Assign (and marshall to memory) the Java side representation. |
void |
setValue(String value)
|
String |
stringValue()
The java object corresponding to this. |
Methods inherited from class de.intarsys.nativec.type.NativeObject |
---|
cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final NativeWideStringType META
Constructor Detail |
---|
public NativeWideString(String value)
Method Detail |
---|
public static NativeWideString createFromAddress(long address)
public int getByteCount()
NativeObject
getByteCount
in class NativeSimple
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 Object getValue()
INativeObject
INativeObject
.public void setValue(Object value)
INativeObject
value
- The new Java value.public void setValue(String value)
public String stringValue()
|
intarsys nativeC library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |