Package de.intarsys.nativec.type
Class NativeGenericStruct
java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeStruct
de.intarsys.nativec.type.NativeGenericStruct
- All Implemented Interfaces:
INativeObject
The generic struct may change its type at runtime.
-
Field Summary
Fields inherited from class de.intarsys.nativec.type.NativeStruct
META, values
Fields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, handle, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
NativeGenericStruct
(NativeStructType type, INativeHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionThe meta information and behavior for the NativeObject.void
Methods inherited from class de.intarsys.nativec.type.NativeStruct
getByteCount, getNativeObject, getStructField, getValue, setValue, toNestedString, toString
Methods inherited from class de.intarsys.nativec.type.NativeObject
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString
-
Constructor Details
-
NativeGenericStruct
-
NativeGenericStruct
-
-
Method Details
-
getNativeType
Description copied from class:NativeObject
The meta information and behavior for the NativeObject.There is exactly one meta instance for all NativeObject instances of a certain type.
- Specified by:
getNativeType
in interfaceINativeObject
- Specified by:
getNativeType
in classNativeObject
- Returns:
- The meta information and behavior for the NativeObject.
-
getStructType
- Overrides:
getStructType
in classNativeStruct
-
setNativeType
-