Public Member Functions | |
| void | assign_from_another (other:&meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction) |
| auto | get () const -> Option<&mut meshlib::ChangeFacesColorMapAction > |
| auto | has_value () const -> bool |
| auto | use_count () const -> core::ffi::c_int |
| void | reset () |
| void | assign (ptr:meshlib::Owned< meshlib::ChangeFacesColorMapAction >) |
| void | assign_non_owning (ptr:Option<&mut meshlib::ChangeFacesColorMapAction >) |
| void | assign_aliasing (ownership:&meshlib::std_shared_ptr_const_void, ptr:Option<&mut meshlib::ChangeFacesColorMapAction >) |
| auto | convert_to_mr_std_shared_ptr_void () const -> meshlib::Owned< meshlib::std_shared_ptr_void > |
| void | assign_to_mr_std_shared_ptr_void (_target:&mut meshlib::std_shared_ptr_void) const |
Wraps a pointer to a single shared reference-counted heap-allocated MR::ChangeFacesColorMapAction.
Generated from class std::shared_ptr<MR::ChangeFacesColorMapAction>. Heap-allocated instances are held in Owned<std_shared_ptr_MR_ChangeFacesColorMapAction>.
| void meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::assign | ( | ptr:meshlib::Owned< meshlib::ChangeFacesColorMapAction > | ) |
Overwrite the existing instance, taking ownership of an existing pointer. The previously owned object, if any, has its reference count decremented.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_Assign().
| void meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::assign_aliasing | ( | ownership:&meshlib::std_shared_ptr_const_void | , |
| ptr:Option<&mut meshlib::ChangeFacesColorMapAction > | ) |
The aliasing assignment. Overwrite an existing instance, copying ownership from an existing shared pointer and storing an arbitrary raw pointer. The input pointer can be reinterpreted from any other std::shared_ptr<T> to avoid constructing a new std::shared_ptr<void>.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_AssignAliasing(). The reference to the parameter ptr might be preserved in this object.
| void meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::assign_from_another | ( | other:&meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction | ) |
Assigns the contents from another instance. Both objects remain alive after the call.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_AssignFromAnother(). The reference to the parameter other might be preserved in this object.
| void meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::assign_non_owning | ( | ptr:Option<&mut meshlib::ChangeFacesColorMapAction > | ) |
Overwrite the existing instance with a non-owning pointer. The previously owned object, if any, has its reference count decremented.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_AssignNonOwning(). The reference to the parameter ptr might be preserved in this object.
| void meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::assign_to_mr_std_shared_ptr_void | ( | _target:&mut meshlib::std_shared_ptr_void | ) | const |
Overwrites an existing std::shared_ptr<void> to point to the same object as this instance.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_AssignTo_MR_std_shared_ptr_void().
|
static |
Create a new instance, taking ownership of an existing pointer.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_Construct().
|
static |
The aliasing constructor. Create a new instance, copying ownership from an existing shared pointer and storing an arbitrary raw pointer. The input pointer can be reinterpreted from any other std::shared_ptr<T> to avoid constructing a new std::shared_ptr<void>.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_ConstructAliasing(). The reference to the parameter ptr might be preserved in the constructed object.
|
static |
Constructs a copy of another instance. The source remains alive.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.
|
static |
Construct from a value.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_ConstructFromValue(). The reference to the parameter value might be preserved in the constructed object.
|
static |
Create a new instance, storing a non-owning pointer.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_ConstructNonOwning(). The reference to the parameter ptr might be preserved in the constructed object.
| auto meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::convert_to_mr_std_shared_ptr_void | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_void > |
Creates an untyped std::shared_ptr<void> pointing to the same object as the source typed pointer.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_ConvertTo_MR_std_shared_ptr_void().
| auto meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::get | ( | ) | const -> Option<&mut meshlib::ChangeFacesColorMapAction > |
Returns the stored pointer, possibly null.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_get(). The reference to this object might be preserved as the return value.
| auto meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::has_value | ( | ) | const -> bool |
Returns true if non-null.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_has_value().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_DefaultConstruct().
| void meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::reset | ( | ) |
Resets the pointer to null.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_reset().
| auto meshlib::std_shared_ptr_MR_ChangeFacesColorMapAction::use_count | ( | ) | const -> core::ffi::c_int |
How many shared pointers share the managed object. Zero if no object is being managed. This being zero usually conincides with MR_std_shared_ptr_MR_ChangeFacesColorMapAction_get() returning null, but is ultimately orthogonal. Note that in multithreaded environments, the only safe way to use this number is comparing it with zero. Positive values might change by the time you get to use them.
Calls MR_std_shared_ptr_MR_ChangeFacesColorMapAction_use_count().