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) |
Generated from: MR::CombinedHistoryAction History action for combine some history actions \\ingroup HistoryGroup
None meshlib.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 meshlib.mrmeshpy.CombinedHistoryAction.__init__ | ( | self, | |
CombinedHistoryAction | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.CombinedHistoryAction.action | ( | self, | |
HistoryAction.Type | actionType ) |
This function is called on history action (undo, redo, etc.)
Reimplemented from meshlib.mrmeshpy.HistoryAction.
bool meshlib.mrmeshpy.CombinedHistoryAction.empty | ( | self | ) |
bool meshlib.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 meshlib.mrmeshpy.CombinedHistoryAction.getStack | ( | self | ) |
int meshlib.mrmeshpy.CombinedHistoryAction.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
Reimplemented from meshlib.mrmeshpy.HistoryAction.
str meshlib.mrmeshpy.CombinedHistoryAction.name | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.HistoryAction.