Public Member Functions | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final long | length () |
Static Public Member Functions | |
| static java.lang.foreign.MemorySegment | ref (ScalarOutput object, java.lang.String name) |
Protected Member Functions | |
| ScalarOutput (long size, java.lang.foreign.MemoryLayout layout) | |
| final long | index (long i) |
| final void | checkSingle () |
Protected Attributes | |
| final java.lang.foreign.MemorySegment | segment |
The base class of int_output, float_output, ... (named after the C type, like in the Python bindings), which the wrappers take for the mutable scalar parameters: int & needs exactly one element, int * accepts null, one element, or an array. An instance owns length() scalars in native memory (freed by the garbage collector), which the C++ functions read and write.
|
protected |
|
protected |
|
protected |
| final long meshlib.ScalarOutput.length | ( | ) |
The number of elements.
| final java.lang.foreign.MemorySegment meshlib.ScalarOutput.rawPointer | ( | ) |
The address of the native object. For opaque classes it's a zero-length segment, for exposed structs it covers the struct.
Implements meshlib.Native.
|
static |
The pointer for a reference parameter: checks that there is exactly one element.
|
protected |