Classes | |
| interface | Fn |
Public Member Functions | |
| std_function_float_from_int (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| std_function_float_from_int () | |
| std_function_float_from_int (meshlib.std_function_float_from_int other) | |
| void | assignFromAnother (meshlib.std_function_float_from_int other) |
| boolean | has_value () |
| void | reset () |
| float | call (int _1) |
| void | assignFn (Fn func) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static meshlib.std_function_float_from_int | of (Fn func) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Stores a functor of type: float(int). Possibly stateful.
Instances created here own their C++ objects, see CppObject.
| meshlib.std_function_float_from_int.std_function_float_from_int | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.std_function_float_from_int.std_function_float_from_int | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_std_function_float_from_int_DefaultConstruct().
| meshlib.std_function_float_from_int.std_function_float_from_int | ( | meshlib.std_function_float_from_int | other | ) |
Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object.
Calls MR_std_function_float_from_int_ConstructFromAnother().
| void meshlib.std_function_float_from_int.assignFn | ( | Fn | func | ) |
Replaces the stored callable with a Java one.
Calls MR_std_function_float_from_int_AssignEx().
| void meshlib.std_function_float_from_int.assignFromAnother | ( | meshlib.std_function_float_from_int | other | ) |
Assigns the contents from another instance. Both objects remain alive after the call. The reference to the parameter other might be preserved in this object.
Calls MR_std_function_float_from_int_AssignFromAnother().
| float meshlib.std_function_float_from_int.call | ( | int | _1 | ) |
Calls the stored callable.
Calls MR_std_function_float_from_int_call().
| boolean meshlib.std_function_float_from_int.has_value | ( | ) |
Returns true if this instance stores a callable, as opposed to being null.
Calls MR_std_function_float_from_int_has_value().
|
static |
Constructs an instance holding a Java callable. The copies of the instance share it. An exception thrown by the callable is rethrown by the wrapper that called into C.
Calls MR_std_function_float_from_int_ConstructEx().
| void meshlib.std_function_float_from_int.reset | ( | ) |
Destroys the stored callable, making this instance null.
Calls MR_std_function_float_from_int_reset().