Public Member Functions | |
| auto | name () const -> meshlib::Owned< meshlib::std_string > |
| void | set_name (name:&str) |
| void | action (type:meshlib::HistoryAction_Type) |
| auto | get_stack_mut () -> &mut meshlib::std_vector_std_shared_ptr_MR_HistoryAction |
| auto | get_stack () const -> &meshlib::std_vector_std_shared_ptr_MR_HistoryAction |
| auto | filter (filteringCondition:&meshlib::std_function_bool_from_const_std_shared_ptr_MR_HistoryAction_ref) -> bool |
| auto | empty () const -> bool |
| auto | get_dynamic_name () const -> meshlib::Owned< meshlib::std_optional_std_string > |
| auto | heap_bytes () const -> usize |
| auto | upcast_to_history_action () const -> &meshlib::HistoryAction |
| auto | upcast_to_history_action_mut () -> &mut meshlib::HistoryAction |
Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::CombinedHistoryAction) -> meshlib::Owned< meshlib::CombinedHistoryAction > |
| static auto | construct (name:&str, actions:&meshlib::std_vector_std_shared_ptr_MR_HistoryAction, dynNameGetter:Option<&meshlib::std_function_std_string >) -> meshlib::Owned< meshlib::CombinedHistoryAction > |
| static auto | static_downcast_from_history_action (object:&meshlib::HistoryAction) -> &Self |
| static auto | static_downcast_from_history_action_mut (object:&mut meshlib::HistoryAction) -> &mut Self |
| static auto | dynamic_downcast_from_history_action (object:&meshlib::HistoryAction) -> Option<&Self > |
| static auto | dynamic_downcast_from_history_action_mut (object:&mut meshlib::HistoryAction) -> Option<&mut Self > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
History action for combine some history actions Generated from class MR::CombinedHistoryAction. Base classes: Direct: (non-virtual) MR::HistoryAction
Generated from class MR::CombinedHistoryAction. Heap-allocated instances are held in Owned<CombinedHistoryAction>.
| void meshlib::CombinedHistoryAction::action | ( | type:meshlib::HistoryAction_Type | ) |
Generated from method MR::CombinedHistoryAction::action.
Calls MR_CombinedHistoryAction_action().
|
static |
Will call action() for each actions in given order (undo in reverse, redo in forward) Generated from constructor MR::CombinedHistoryAction::CombinedHistoryAction.
Calls MR_CombinedHistoryAction_Construct(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter actions might be preserved in the constructed object. The reference to the parameter dynNameGetter might be preserved in the constructed object.
|
static |
Generated from constructor MR::CombinedHistoryAction::CombinedHistoryAction.
Calls MR_CombinedHistoryAction_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a CombinedHistoryAction.
Calls MR_CombinedHistoryAction_DynamicDowncastFrom_MR_HistoryAction().
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a CombinedHistoryAction.
Calls MR_CombinedHistoryAction_MutableDynamicDowncastFrom_MR_HistoryAction().
| auto meshlib::CombinedHistoryAction::empty | ( | ) | const -> bool |
Generated from method MR::CombinedHistoryAction::empty.
Calls MR_CombinedHistoryAction_empty().
| auto meshlib::CombinedHistoryAction::filter | ( | filteringCondition:&meshlib::std_function_bool_from_const_std_shared_ptr_MR_HistoryAction_ref | ) | -> bool |
Remove some actions according to condition inside combined actions. Do deep filtering. Generated from method MR::CombinedHistoryAction::filter.
Calls MR_CombinedHistoryAction_filter().
| auto meshlib::CombinedHistoryAction::get_dynamic_name | ( | ) | const -> meshlib::Owned< meshlib::std_optional_std_string > |
For actions with a dynamic name getter calls the getter and returns the dynamic name; otherwise returns std::nullopt. Generated from method MR::CombinedHistoryAction::getDynamicName.
Calls MR_CombinedHistoryAction_getDynamicName().
| auto meshlib::CombinedHistoryAction::get_stack | ( | ) | const -> &meshlib::std_vector_std_shared_ptr_MR_HistoryAction |
Generated from method MR::CombinedHistoryAction::getStack.
Calls MR_CombinedHistoryAction_getStack().
| auto meshlib::CombinedHistoryAction::get_stack_mut | ( | ) | -> &mut meshlib::std_vector_std_shared_ptr_MR_HistoryAction |
Generated from method MR::CombinedHistoryAction::getStack.
Calls MR_CombinedHistoryAction_getStack_mut().
| auto meshlib::CombinedHistoryAction::heap_bytes | ( | ) | const -> usize |
Generated from method MR::CombinedHistoryAction::heapBytes.
Calls MR_CombinedHistoryAction_heapBytes().
| auto meshlib::CombinedHistoryAction::name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::CombinedHistoryAction::name.
Calls MR_CombinedHistoryAction_name().
| void meshlib::CombinedHistoryAction::set_name | ( | name:& | str | ) |
Generated from method MR::CombinedHistoryAction::setName.
Calls MR_CombinedHistoryAction_setName().
|
static |
Static downcast from the base class MR::HistoryAction.
Calls MR_CombinedHistoryAction_StaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a CombinedHistoryAction.
|
static |
Static downcast from the base class MR::HistoryAction.
Calls MR_CombinedHistoryAction_MutableStaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a CombinedHistoryAction.
| auto meshlib::CombinedHistoryAction::upcast_to_history_action | ( | ) | const -> &meshlib::HistoryAction |
Upcasts to the base class MR::HistoryAction.
Calls MR_CombinedHistoryAction_UpcastTo_MR_HistoryAction().
| auto meshlib::CombinedHistoryAction::upcast_to_history_action_mut | ( | ) | -> &mut meshlib::HistoryAction |
Upcasts to the base class MR::HistoryAction.
Calls MR_CombinedHistoryAction_MutableUpcastTo_MR_HistoryAction().