MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty Class Reference
Inheritance diagram for meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty:

Public Member Functions

 std_optional_MR_ObjectComparableWithReference_ComparableProperty (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 std_optional_MR_ObjectComparableWithReference_ComparableProperty ()
 std_optional_MR_ObjectComparableWithReference_ComparableProperty (meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty other)
 std_optional_MR_ObjectComparableWithReference_ComparableProperty (meshlib.ObjectComparableWithReference_ComparableProperty other)
void assignFromAnother (meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty other)
void assignFrom (meshlib.ObjectComparableWithReference_ComparableProperty other)
boolean has_value ()
meshlib.ObjectComparableWithReference_ComparableProperty value ()
meshlib.ObjectComparableWithReference_ComparableProperty value_mut ()
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)

Detailed Description

Stores either a single MR::ObjectComparableWithReference::ComparableProperty or nothing.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ std_optional_MR_ObjectComparableWithReference_ComparableProperty() [1/4]

meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.std_optional_MR_ObjectComparableWithReference_ComparableProperty ( 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.

◆ std_optional_MR_ObjectComparableWithReference_ComparableProperty() [2/4]

meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.std_optional_MR_ObjectComparableWithReference_ComparableProperty ( )

Constructs an empty (default-constructed) instance.

Calls MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty_DefaultConstruct().

◆ std_optional_MR_ObjectComparableWithReference_ComparableProperty() [3/4]

meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.std_optional_MR_ObjectComparableWithReference_ComparableProperty ( meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty 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_optional_MR_ObjectComparableWithReference_ComparableProperty_ConstructFromAnother().

◆ std_optional_MR_ObjectComparableWithReference_ComparableProperty() [4/4]

meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.std_optional_MR_ObjectComparableWithReference_ComparableProperty ( meshlib.ObjectComparableWithReference_ComparableProperty other)

Constructs a new instance.

Calls MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty_ConstructFrom().

Member Function Documentation

◆ assignFrom()

void meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.assignFrom ( meshlib.ObjectComparableWithReference_ComparableProperty other)

Assigns the contents.

Calls MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty_AssignFrom().

◆ assignFromAnother()

void meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.assignFromAnother ( meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty 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_optional_MR_ObjectComparableWithReference_ComparableProperty_AssignFromAnother().

◆ has_value()

boolean meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.has_value ( )

Returns true if this instance stores an object, as opposed to being empty.

Calls MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty_has_value().

◆ value()

meshlib.ObjectComparableWithReference_ComparableProperty meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.value ( )

The stored element or null if none, read-only. The reference to this object might be preserved as the return value.

Calls MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty_value().

◆ value_mut()

meshlib.ObjectComparableWithReference_ComparableProperty meshlib.std_optional_MR_ObjectComparableWithReference_ComparableProperty.value_mut ( )

The stored element or null if none, mutable. The reference to this object might be preserved as the return value.

Calls MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty_value_mut().


The documentation for this class was generated from the following file: