de.intarsys.nativec.type
public class NativeGenericStruct extends NativeStruct
META, values
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 |
NativeGenericStruct(NativeStructType type) |
protected |
NativeGenericStruct(NativeStructType type,
INativeHandle handle) |
Modifier and Type | Method and Description |
---|---|
INativeType |
getNativeType()
The meta information and behavior for the NativeObject.
|
NativeStructType |
getStructType() |
void |
setNativeType(NativeStructType type) |
getByteCount, getNativeObject, getStructField, getValue, setValue, toNestedString, toString
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString
protected NativeGenericStruct(NativeStructType type)
protected NativeGenericStruct(NativeStructType type, INativeHandle handle)
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 NativeStructType getStructType()
getStructType
in class NativeStruct
public void setNativeType(NativeStructType type)