Package de.intarsys.nativec.type
Class NativeVoid
java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeSimple
de.intarsys.nativec.type.NativeVoid
- All Implemented Interfaces:
INativeMemory,INativeObject
- Direct Known Subclasses:
NativeFunction
An object representing "void" ("nothing" or rather nothing we can specify
more explicitly). Mostly (only?) useful with references.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NativeVoidTypeThe meta class instancestatic final NativeVoidFields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_FLOAT, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT -
Method Summary
Modifier and TypeMethodDescriptionstatic NativeVoidcreateFromAddress(long address) The meta information and behavior for the NativeObject.getValue()A Java side representation from the memory.voidAssign (and marshall to memory) the Java side representation.Methods inherited from class de.intarsys.nativec.type.NativeSimple
getByteCountMethods 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
-
Field Details
-
META
The meta class instance -
NULL
-
-
Method Details
-
createFromAddress
-
getNativeType
Description copied from class:NativeObjectThe meta information and behavior for the NativeObject.There is exactly one meta instance for all NativeObject instances of a certain type.
- Specified by:
getNativeTypein interfaceINativeObject- Specified by:
getNativeTypein classNativeObject- Returns:
- The meta information and behavior for the NativeObject.
-
getValue
Description copied from interface:INativeObjectA Java side representation from the memory.- Returns:
- A Java side representation for the
INativeObject.
-
setValue
Description copied from interface:INativeObjectAssign (and marshall to memory) the Java side representation.- Parameters:
value- The new Java value.
-