MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstCombinedHistoryAction Class Reference
Inheritance diagram for mrmeshpy.ConstCombinedHistoryAction:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool empty (self)
str getDynamicName (self)
Const_std_vector_std_shared_ptr_HistoryAction getStack (self)
int heapBytes (self)
str name (self)

Detailed Description

Generated from:  MR::CombinedHistoryAction

History action for combine some history actions

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstCombinedHistoryAction.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstCombinedHistoryAction, name: str, actions: meshlib.mrmeshpy.Const_std_vector_std_shared_ptr_HistoryAction, dynNameGetter: meshlib.mrmeshpy.Const_func_std_string = '{}') -> None

Will call action() for each actions in given order (undo in reverse, redo in forward)

2. __init__(self: meshlib.mrmeshpy.ConstCombinedHistoryAction, arg0: meshlib.mrmeshpy.ConstCombinedHistoryAction) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstCombinedHistoryAction, : meshlib.mrmeshpy.ConstCombinedHistoryAction) -> None

Member Function Documentation

◆ empty()

bool mrmeshpy.ConstCombinedHistoryAction.empty ( self)

◆ getDynamicName()

str mrmeshpy.ConstCombinedHistoryAction.getDynamicName ( self)
For actions with a dynamic name getter calls the getter and returns the dynamic name; otherwise returns std::nullopt.

◆ getStack()

Const_std_vector_std_shared_ptr_HistoryAction mrmeshpy.ConstCombinedHistoryAction.getStack ( self)

◆ heapBytes()

int mrmeshpy.ConstCombinedHistoryAction.heapBytes ( self)
returns the amount of memory this object occupies on heap

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstCombinedHistoryAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.


The documentation for this class was generated from the following file: