Public Member Functions | |
| expected_MR_TeethMaskToDirectionVolumeConvertor_std_string (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| expected_MR_TeethMaskToDirectionVolumeConvertor_std_string (meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string other) | |
| void | assignFromAnother (meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string other) |
| boolean | success () |
| meshlib.TeethMaskToDirectionVolumeConvertor | value () |
| meshlib.std_string | error () |
| meshlib.TeethMaskToDirectionVolumeConvertor | value_mut () |
| meshlib.std_string | error_mut () |
| meshlib.TeethMaskToDirectionVolumeConvertor | valueOrThrow () |
| 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 () |
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 either a MR::TeethMaskToDirectionVolumeConvertor that represents success or a std::string that represents an error.
Instances created here own their C++ objects, see CppObject.
| meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string | ( | 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.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string | ( | meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string | 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_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_ConstructFromAnother().
| void meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.assignFromAnother | ( | meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string | 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_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_AssignFromAnother().
| meshlib.std_string meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.error | ( | ) |
If this instance represents an error, returns the stored std::string. Otherwise null. The reference to this object might be preserved as the return value.
Calls MR_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_error().
| meshlib.std_string meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.error_mut | ( | ) |
If this instance represents an error, returns the stored std::string. Otherwise null. This version returns a mutable pointer. The reference to this object might be preserved as the return value.
Calls MR_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_error_mut().
| boolean meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.success | ( | ) |
Returns true if this instance represents success, or false if it represents an error.
Calls MR_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_success().
| meshlib.TeethMaskToDirectionVolumeConvertor meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.value | ( | ) |
If this instance represents success, returns the stored MR::TeethMaskToDirectionVolumeConvertor. Otherwise null. The reference to this object might be preserved as the return value.
Calls MR_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_value().
| meshlib.TeethMaskToDirectionVolumeConvertor meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.value_mut | ( | ) |
If this instance represents success, returns the stored MR::TeethMaskToDirectionVolumeConvertor. Otherwise null. This version returns a mutable pointer. The reference to this object might be preserved as the return value.
Calls MR_expected_MR_TeethMaskToDirectionVolumeConvertor_std_string_value_mut().
| meshlib.TeethMaskToDirectionVolumeConvertor meshlib.expected_MR_TeethMaskToDirectionVolumeConvertor_std_string.valueOrThrow | ( | ) |
The value, or throws UnexpectedResultException with the error. The returned reference keeps this object alive. The wrappers of the functions returning this type do this automatically.