Public Member Functions | |
None | __init__ (self, str name, std_vector_std_shared_ptr_HistoryAction actions) |
None | __init__ (self, CombinedHistoryAction arg0) |
None | action (self, HistoryAction.Type type) |
bool | empty (self) |
bool | filter (self, func_bool_from_std_shared_ptr_HistoryAction filteringCondition) |
std_vector_std_shared_ptr_HistoryAction | getStack (self) |
int | heapBytes (self) |
str | name (self) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::CombinedHistoryAction History action for combine some history actions \\ingroup HistoryGroup
None mrmeshpy.CombinedHistoryAction.__init__ | ( | self, | |
str | name, | ||
std_vector_std_shared_ptr_HistoryAction | actions ) |
Will call action() for each actions in given order (undo in reverse, redo in forward)
None mrmeshpy.CombinedHistoryAction.__init__ | ( | self, | |
CombinedHistoryAction | arg0 ) |
Implicit copy constructor.
|
staticprotected |
Reimplemented from mrmeshpy.HistoryAction.
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.empty | ( | self | ) |
bool mrmeshpy.CombinedHistoryAction.filter | ( | self, | |
func_bool_from_std_shared_ptr_HistoryAction | filteringCondition ) |
Remove some actions according to condition inside combined actions. Do deep filtering.
std_vector_std_shared_ptr_HistoryAction mrmeshpy.CombinedHistoryAction.getStack | ( | self | ) |
int mrmeshpy.CombinedHistoryAction.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
Reimplemented from mrmeshpy.HistoryAction.
str mrmeshpy.CombinedHistoryAction.name | ( | self | ) |
Reimplemented from mrmeshpy.HistoryAction.