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:
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 NativeVoidType
The meta class instancestatic final NativeVoid
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NativeVoid
createFromAddress
(long address) The meta information and behavior for the NativeObject.getValue()
A Java side representation from the memory.void
Assign (and marshall to memory) the Java side representation.Methods inherited from class de.intarsys.nativec.type.NativeSimple
getByteCount
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, toNestedString
-
Field Details
-
META
The meta class instance -
NULL
-
-
Constructor Details
-
NativeVoid
-
-
Method Details
-
createFromAddress
-
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.
-
getValue
Description copied from interface:INativeObject
A Java side representation from the memory.- Returns:
- A Java side representation for the
INativeObject
.
-
setValue
Description copied from interface:INativeObject
Assign (and marshall to memory) the Java side representation.- Parameters:
value
- The new Java value.
-