MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.CombinedHistoryAction Class Reference
Inheritance diagram for meshlib.CombinedHistoryAction:

Public Member Functions

 CombinedHistoryAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CombinedHistoryAction (meshlib.CombinedHistoryAction _other)
 CombinedHistoryAction (java.lang.String name, meshlib.std_vector_std_shared_ptr_MR_HistoryAction actions, meshlib.std_function_std_string dynNameGetter)
meshlib.std_string name ()
void setName (java.lang.String name)
void action (meshlib.HistoryAction_Type type)
meshlib.std_vector_std_shared_ptr_MR_HistoryAction getStack_mut ()
meshlib.std_vector_std_shared_ptr_MR_HistoryAction getStack ()
boolean filter (meshlib.std_function_bool_from_const_std_shared_ptr_MR_HistoryAction_ref filteringCondition)
boolean empty ()
meshlib.std_optional_std_string getDynamicName ()
long heapBytes ()
meshlib.HistoryAction upcastToHistoryAction ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.CombinedHistoryAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.CombinedHistoryAction dynamicDowncastFromHistoryAction (meshlib.HistoryAction object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

History action for combine some history actions Generated from class MR::CombinedHistoryAction. Base classes: Direct: (non-virtual) MR::HistoryAction

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ CombinedHistoryAction() [1/3]

meshlib.CombinedHistoryAction.CombinedHistoryAction ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ CombinedHistoryAction() [2/3]

meshlib.CombinedHistoryAction.CombinedHistoryAction ( meshlib.CombinedHistoryAction _other)

Generated from constructor MR::CombinedHistoryAction::CombinedHistoryAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_CombinedHistoryAction_ConstructFromAnother().

◆ CombinedHistoryAction() [3/3]

meshlib.CombinedHistoryAction.CombinedHistoryAction ( java.lang.String name,
meshlib.std_vector_std_shared_ptr_MR_HistoryAction actions,
meshlib.std_function_std_string dynNameGetter )

Will call action() for each actions in given order (undo in reverse, redo in forward) Generated from constructor MR::CombinedHistoryAction::CombinedHistoryAction. 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.

Calls MR_CombinedHistoryAction_Construct().

Member Function Documentation

◆ action()

void meshlib.CombinedHistoryAction.action ( meshlib.HistoryAction_Type type)

Generated from method MR::CombinedHistoryAction::action.

Calls MR_CombinedHistoryAction_action().

◆ dynamicDowncastFromHistoryAction()

meshlib.CombinedHistoryAction meshlib.CombinedHistoryAction.dynamicDowncastFromHistoryAction ( meshlib.HistoryAction object)
static

Dynamic downcast from the base class MR::HistoryAction. Returns null if the object isn't actually a CombinedHistoryAction. The result refers to object.

Calls MR_CombinedHistoryAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ empty()

boolean meshlib.CombinedHistoryAction.empty ( )

Generated from method MR::CombinedHistoryAction::empty.

Calls MR_CombinedHistoryAction_empty().

◆ filter()

boolean meshlib.CombinedHistoryAction.filter ( meshlib.std_function_bool_from_const_std_shared_ptr_MR_HistoryAction_ref filteringCondition)

Remove some actions according to condition inside combined actions. Do deep filtering. Generated from method MR::CombinedHistoryAction::filter.

Calls MR_CombinedHistoryAction_filter().

◆ getDynamicName()

meshlib.std_optional_std_string meshlib.CombinedHistoryAction.getDynamicName ( )

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().

◆ getStack()

meshlib.std_vector_std_shared_ptr_MR_HistoryAction meshlib.CombinedHistoryAction.getStack ( )

Generated from method MR::CombinedHistoryAction::getStack.

Calls MR_CombinedHistoryAction_getStack().

◆ getStack_mut()

meshlib.std_vector_std_shared_ptr_MR_HistoryAction meshlib.CombinedHistoryAction.getStack_mut ( )

Generated from method MR::CombinedHistoryAction::getStack.

Calls MR_CombinedHistoryAction_getStack_mut().

◆ heapBytes()

long meshlib.CombinedHistoryAction.heapBytes ( )

Generated from method MR::CombinedHistoryAction::heapBytes.

Calls MR_CombinedHistoryAction_heapBytes().

◆ name()

meshlib.std_string meshlib.CombinedHistoryAction.name ( )

Generated from method MR::CombinedHistoryAction::name.

Calls MR_CombinedHistoryAction_name().

◆ setName()

void meshlib.CombinedHistoryAction.setName ( java.lang.String name)

Generated from method MR::CombinedHistoryAction::setName.

Calls MR_CombinedHistoryAction_setName().

◆ staticDowncastFromHistoryAction()

meshlib.CombinedHistoryAction meshlib.CombinedHistoryAction.staticDowncastFromHistoryAction ( meshlib.HistoryAction object)
static

Static downcast from the base class MR::HistoryAction. Undefined behavior if the object isn't actually a CombinedHistoryAction. The result refers to object.

Calls MR_CombinedHistoryAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.CombinedHistoryAction.upcastToHistoryAction ( )

Upcasts to the base class MR::HistoryAction. The result refers to this object.

Calls MR_CombinedHistoryAction_MutableUpcastTo_MR_HistoryAction().


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