Public Member Functions | |
| None | __init__ (self, str name, Const_std_vector_std_shared_ptr_HistoryAction actions, Const_func_std_string dynNameGetter='{}') |
| None | __init__ (self, ConstCombinedHistoryAction arg0) |
| None | action (self, HistoryAction.Type type) |
| bool | filter (self, Const_func_bool_from_std_shared_ptr_HistoryAction filteringCondition) |
| std_vector_std_shared_ptr_HistoryAction | getStack (self) |
| Const_std_vector_std_shared_ptr_HistoryAction | getStack (ConstCombinedHistoryAction self) |
| None | setName (self, str name) |
| Public Member Functions inherited from mrmeshpy.ConstCombinedHistoryAction | |
| __init__ (self, *args, **kwargs) | |
| bool | empty (self) |
| str | getDynamicName (self) |
| int | heapBytes (self) |
| str | name (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::CombinedHistoryAction History action for combine some history actions
|
static |
| None mrmeshpy.CombinedHistoryAction.__init__ | ( | self, | |
| str | name, | ||
| Const_std_vector_std_shared_ptr_HistoryAction | actions, | ||
| Const_func_std_string | dynNameGetter = '{}' ) |
Will call action() for each actions in given order (undo in reverse, redo in forward)
| None mrmeshpy.CombinedHistoryAction.__init__ | ( | self, | |
| ConstCombinedHistoryAction | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.CombinedHistoryAction.action | ( | self, | |
| HistoryAction.Type | actionType ) |
This function is called on history action (undo, redo, etc.)
Reimplemented from mrmeshpy.HistoryAction.
| bool mrmeshpy.CombinedHistoryAction.filter | ( | self, | |
| Const_func_bool_from_std_shared_ptr_HistoryAction | filteringCondition ) |
Remove some actions according to condition inside combined actions. Do deep filtering.
| Const_std_vector_std_shared_ptr_HistoryAction mrmeshpy.CombinedHistoryAction.getStack | ( | ConstCombinedHistoryAction | self | ) |
Reimplemented from mrmeshpy.ConstCombinedHistoryAction.
| std_vector_std_shared_ptr_HistoryAction mrmeshpy.CombinedHistoryAction.getStack | ( | self | ) |
Reimplemented from mrmeshpy.ConstCombinedHistoryAction.
| None mrmeshpy.CombinedHistoryAction.setName | ( | self, | |
| str | name ) |