MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeObjectAction.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_HistoryAction MR_HistoryAction; // Defined in `#include <MRCMesh/MRHistoryAction.h>`.
14typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
15typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
16
17
24
28
31
34
38
41
48
51
54
59
64
68
72
73#ifdef __cplusplus
74} // extern "C"
75#endif
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAngleMeasurementObject.h:18
struct MR_HistoryAction MR_HistoryAction
Definition MRChangeColoringActions.h:15
MRC_API void MR_ChangeObjectAction_Destroy(const MR_ChangeObjectAction *_this)
Destroys a heap-allocated instance of MR_ChangeObjectAction. Does nothing if the pointer is null.
MRC_API MR_HistoryAction * MR_ChangeObjectAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeObjectAction *object)
Upcasts an instance of MR::ChangeObjectAction to its base class MR::HistoryAction.
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_AssignFromAnother(MR_ChangeObjectAction *_this, MR_PassBy _other_pass_by, MR_ChangeObjectAction *_other)
MRC_API const MR_HistoryAction * MR_ChangeObjectAction_UpcastTo_MR_HistoryAction(const MR_ChangeObjectAction *object)
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_Construct(const MR_std_string *name, const MR_std_shared_ptr_MR_Object *obj)
MRC_API void MR_ChangeObjectAction_DestroyArray(const MR_ChangeObjectAction *_this)
Destroys a heap-allocated array of MR_ChangeObjectAction. Does nothing if the pointer is null.
MRC_API const MR_ChangeObjectAction * MR_ChangeObjectAction_OffsetPtr(const MR_ChangeObjectAction *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_uint64_t MR_ChangeObjectAction_heapBytes(const MR_ChangeObjectAction *_this)
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_OffsetMutablePtr(MR_ChangeObjectAction *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_string * MR_ChangeObjectAction_name(const MR_ChangeObjectAction *_this)
MRC_API void MR_ChangeObjectAction_action(MR_ChangeObjectAction *_this, MR_HistoryAction_Type _1)
struct MR_ChangeObjectAction MR_ChangeObjectAction
Definition MRChangeObjectAction.h:23
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeObjectAction *_other)
struct MR_std_string MR_std_string
Definition MRE57.h:22
int32_t MR_HistoryAction_Type
Definition MRHistoryAction.h:112
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
virtual std::string name() const override