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

Public Member Functions

 ChangeNameAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangeNameAction (meshlib.ChangeNameAction _other)
 ChangeNameAction (java.lang.String actionName, meshlib.std_shared_ptr_MR_Object obj)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type _1)
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.ChangeNameAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangeNameAction 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

This action to undo/redo the change of object name Generated from class MR::ChangeNameAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangeNameAction() [1/3]

meshlib.ChangeNameAction.ChangeNameAction ( 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.

◆ ChangeNameAction() [2/3]

meshlib.ChangeNameAction.ChangeNameAction ( meshlib.ChangeNameAction _other)

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

Calls MR_ChangeNameAction_ConstructFromAnother().

◆ ChangeNameAction() [3/3]

meshlib.ChangeNameAction.ChangeNameAction ( java.lang.String actionName,
meshlib.std_shared_ptr_MR_Object obj )

construct before giving new name to the object Generated from constructor MR::ChangeNameAction::ChangeNameAction. The reference to the parameter actionName might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object.

Calls MR_ChangeNameAction_Construct().

Member Function Documentation

◆ action()

void meshlib.ChangeNameAction.action ( meshlib.HistoryAction_Type _1)

Generated from method MR::ChangeNameAction::action.

Calls MR_ChangeNameAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_ChangeNameAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangeNameAction.heapBytes ( )

Generated from method MR::ChangeNameAction::heapBytes.

Calls MR_ChangeNameAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangeNameAction.name ( )

Generated from method MR::ChangeNameAction::name.

Calls MR_ChangeNameAction_name().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_ChangeNameAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangeNameAction.upcastToHistoryAction ( )

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

Calls MR_ChangeNameAction_MutableUpcastTo_MR_HistoryAction().


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