MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeLabelAction.h File Reference
#include <MRCMesh/MRHistoryAction.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Functions

MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ChangeLabelAction *_other)
MRC_API const MR_ChangeLabelActionMR_ChangeLabelAction_OffsetPtr (const MR_ChangeLabelAction *ptr, ptrdiff_t i)
MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_OffsetMutablePtr (MR_ChangeLabelAction *ptr, ptrdiff_t i)
MRC_API const MR_HistoryActionMR_ChangeLabelAction_UpcastTo_MR_HistoryAction (const MR_ChangeLabelAction *object)
MRC_API MR_HistoryActionMR_ChangeLabelAction_MutableUpcastTo_MR_HistoryAction (MR_ChangeLabelAction *object)
MRC_API const MR_ChangeLabelActionMR_ChangeLabelAction_StaticDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_MutableStaticDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeLabelActionMR_ChangeLabelAction_DynamicDowncastFrom_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_MutableDynamicDowncastFrom_MR_HistoryAction (MR_HistoryAction *object)
MRC_API const MR_ChangeLabelActionMR_ChangeLabelAction_DynamicDowncastFromOrFail_MR_HistoryAction (const MR_HistoryAction *object)
MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction (MR_HistoryAction *object)
MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_Construct (const char *actionName, const char *actionName_end, MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_ObjectLabel *obj)
MRC_API void MR_ChangeLabelAction_Destroy (const MR_ChangeLabelAction *_this)
 Destroys a heap-allocated instance of MR_ChangeLabelAction. Does nothing if the pointer is null.
MRC_API void MR_ChangeLabelAction_DestroyArray (const MR_ChangeLabelAction *_this)
 Destroys a heap-allocated array of MR_ChangeLabelAction. Does nothing if the pointer is null.
MRC_API MR_ChangeLabelActionMR_ChangeLabelAction_AssignFromAnother (MR_ChangeLabelAction *_this, MR_PassBy _other_pass_by, MR_ChangeLabelAction *_other)
MRC_API MR_std_stringMR_ChangeLabelAction_name (const MR_ChangeLabelAction *_this)
MRC_API void MR_ChangeLabelAction_action (MR_ChangeLabelAction *_this, MR_HistoryAction_Type _1)
MRC_API MR_uint64_t MR_ChangeLabelAction_heapBytes (const MR_ChangeLabelAction *_this)

Function Documentation

◆ MR_ChangeLabelAction_action()

MRC_API void MR_ChangeLabelAction_action ( MR_ChangeLabelAction * _this,
MR_HistoryAction_Type _1 )

Generated from method MR::ChangeLabelAction::action. Parameter _this can not be null. It is a single object.

◆ MR_ChangeLabelAction_AssignFromAnother()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_AssignFromAnother ( MR_ChangeLabelAction * _this,
MR_PassBy _other_pass_by,
MR_ChangeLabelAction * _other )

Generated from method MR::ChangeLabelAction::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_ChangeLabelAction_Construct()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_Construct ( const char * actionName,
const char * actionName_end,
MR_PassBy obj_pass_by,
MR_std_shared_ptr_MR_ObjectLabel * obj )

Generated from constructor MR::ChangeLabelAction::ChangeLabelAction. Parameter actionName can not be null. If actionName_end is null, then actionName is assumed to be null-terminated. 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. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeLabelAction_Destroy() to free it when you're done using it.

◆ MR_ChangeLabelAction_ConstructFromAnother()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ChangeLabelAction * _other )

Generated from constructor MR::ChangeLabelAction::ChangeLabelAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeLabelAction_Destroy() to free it when you're done using it.

◆ MR_ChangeLabelAction_Destroy()

MRC_API void MR_ChangeLabelAction_Destroy ( const MR_ChangeLabelAction * _this)

Destroys a heap-allocated instance of MR_ChangeLabelAction. Does nothing if the pointer is null.

◆ MR_ChangeLabelAction_DestroyArray()

MRC_API void MR_ChangeLabelAction_DestroyArray ( const MR_ChangeLabelAction * _this)

Destroys a heap-allocated array of MR_ChangeLabelAction. Does nothing if the pointer is null.

◆ MR_ChangeLabelAction_DynamicDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeLabelAction * MR_ChangeLabelAction_DynamicDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLabelAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLabelAction_DynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API const MR_ChangeLabelAction * MR_ChangeLabelAction_DynamicDowncastFromOrFail_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLabelAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeLabelAction_heapBytes()

MRC_API MR_uint64_t MR_ChangeLabelAction_heapBytes ( const MR_ChangeLabelAction * _this)

Generated from method MR::ChangeLabelAction::heapBytes. Parameter _this can not be null. It is a single object.

◆ MR_ChangeLabelAction_MutableDynamicDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_MutableDynamicDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLabelAction. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLabelAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_MutableDynamicDowncastFromOrFail_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLabelAction. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_ChangeLabelAction_MutableStaticDowncastFrom_MR_HistoryAction()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_MutableStaticDowncastFrom_MR_HistoryAction ( MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLabelAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLabelAction_MutableUpcastTo_MR_HistoryAction()

MRC_API MR_HistoryAction * MR_ChangeLabelAction_MutableUpcastTo_MR_HistoryAction ( MR_ChangeLabelAction * object)

Upcasts an instance of MR::ChangeLabelAction to its base class MR::HistoryAction. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLabelAction_name()

MRC_API MR_std_string * MR_ChangeLabelAction_name ( const MR_ChangeLabelAction * _this)

Generated from method MR::ChangeLabelAction::name. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.

◆ MR_ChangeLabelAction_OffsetMutablePtr()

MRC_API MR_ChangeLabelAction * MR_ChangeLabelAction_OffsetMutablePtr ( MR_ChangeLabelAction * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ChangeLabelAction_OffsetPtr()

MRC_API const MR_ChangeLabelAction * MR_ChangeLabelAction_OffsetPtr ( const MR_ChangeLabelAction * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ChangeLabelAction_StaticDowncastFrom_MR_HistoryAction()

MRC_API const MR_ChangeLabelAction * MR_ChangeLabelAction_StaticDowncastFrom_MR_HistoryAction ( const MR_HistoryAction * object)

Downcasts an instance of MR::HistoryAction to a derived class MR::ChangeLabelAction. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.

◆ MR_ChangeLabelAction_UpcastTo_MR_HistoryAction()

MRC_API const MR_HistoryAction * MR_ChangeLabelAction_UpcastTo_MR_HistoryAction ( const MR_ChangeLabelAction * object)

Upcasts an instance of MR::ChangeLabelAction to its base class MR::HistoryAction. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.