MeshLib C Docs
Loading...
Searching...
No Matches
MRChangeObjectAction.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MRCMesh/MRHistoryAction.h
>
4
#include <
MRCMisc/common.h
>
5
#include <
MRCMisc/exports.h
>
6
7
#include <stddef.h>
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
typedef
struct
MR_HistoryAction
MR_HistoryAction
;
// Defined in `#include <MRCMesh/MRHistoryAction.h>`.
14
typedef
struct
MR_std_shared_ptr_MR_Object
MR_std_shared_ptr_MR_Object
;
// Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
15
typedef
struct
MR_std_string
MR_std_string
;
// Defined in `#include <MRCMisc/std_string.h>`.
16
17
24
typedef
struct
MR_ChangeObjectAction
MR_ChangeObjectAction
;
25
29
MRC_API
MR_ChangeObjectAction
*
MR_ChangeObjectAction_ConstructFromAnother
(
MR_PassBy
_other_pass_by,
MR_ChangeObjectAction
*_other);
30
33
MRC_API
const
MR_ChangeObjectAction
*
MR_ChangeObjectAction_OffsetPtr
(
const
MR_ChangeObjectAction
*ptr, ptrdiff_t i);
34
37
MRC_API
MR_ChangeObjectAction
*
MR_ChangeObjectAction_OffsetMutablePtr
(
MR_ChangeObjectAction
*ptr, ptrdiff_t i);
38
41
MRC_API
const
MR_HistoryAction
*
MR_ChangeObjectAction_UpcastTo_MR_HistoryAction
(
const
MR_ChangeObjectAction
*
object
);
42
44
MRC_API
MR_HistoryAction
*
MR_ChangeObjectAction_MutableUpcastTo_MR_HistoryAction
(
MR_ChangeObjectAction
*
object
);
45
54
MRC_API
MR_ChangeObjectAction
*
MR_ChangeObjectAction_Construct
(
const
char
*
name
,
const
char
*name_end,
const
MR_std_shared_ptr_MR_Object
*obj);
55
57
MRC_API
void
MR_ChangeObjectAction_Destroy
(
const
MR_ChangeObjectAction
*_this);
58
60
MRC_API
void
MR_ChangeObjectAction_DestroyArray
(
const
MR_ChangeObjectAction
*_this);
61
67
MRC_API
MR_ChangeObjectAction
*
MR_ChangeObjectAction_AssignFromAnother
(
MR_ChangeObjectAction
*_this,
MR_PassBy
_other_pass_by,
MR_ChangeObjectAction
*_other);
68
72
MRC_API
MR_std_string
*
MR_ChangeObjectAction_name
(
const
MR_ChangeObjectAction
*_this);
73
76
MRC_API
void
MR_ChangeObjectAction_action
(
MR_ChangeObjectAction
*_this,
MR_HistoryAction_Type
_1);
77
80
MRC_API
MR_uint64_t
MR_ChangeObjectAction_heapBytes
(
const
MR_ChangeObjectAction
*_this);
81
82
#ifdef __cplusplus
83
}
// extern "C"
84
#endif
MR_std_shared_ptr_MR_Object
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition
MRAddVisualPropertiesMixin.h:39
MR_HistoryAction
struct MR_HistoryAction MR_HistoryAction
Definition
MRChangeColoringActions.h:14
MR_ChangeObjectAction_Destroy
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.
MR_ChangeObjectAction_MutableUpcastTo_MR_HistoryAction
MRC_API MR_HistoryAction * MR_ChangeObjectAction_MutableUpcastTo_MR_HistoryAction(MR_ChangeObjectAction *object)
Upcasts an instance of MR::ChangeObjectAction to its base class MR::HistoryAction.
MR_ChangeObjectAction_AssignFromAnother
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_AssignFromAnother(MR_ChangeObjectAction *_this, MR_PassBy _other_pass_by, MR_ChangeObjectAction *_other)
MR_ChangeObjectAction_Construct
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_Construct(const char *name, const char *name_end, const MR_std_shared_ptr_MR_Object *obj)
MR_ChangeObjectAction_UpcastTo_MR_HistoryAction
MRC_API const MR_HistoryAction * MR_ChangeObjectAction_UpcastTo_MR_HistoryAction(const MR_ChangeObjectAction *object)
MR_ChangeObjectAction_DestroyArray
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.
MR_ChangeObjectAction_OffsetPtr
MRC_API const MR_ChangeObjectAction * MR_ChangeObjectAction_OffsetPtr(const MR_ChangeObjectAction *ptr, ptrdiff_t i)
MR_ChangeObjectAction_heapBytes
MRC_API MR_uint64_t MR_ChangeObjectAction_heapBytes(const MR_ChangeObjectAction *_this)
MR_ChangeObjectAction_OffsetMutablePtr
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_OffsetMutablePtr(MR_ChangeObjectAction *ptr, ptrdiff_t i)
MR_ChangeObjectAction_name
MRC_API MR_std_string * MR_ChangeObjectAction_name(const MR_ChangeObjectAction *_this)
MR_ChangeObjectAction_action
MRC_API void MR_ChangeObjectAction_action(MR_ChangeObjectAction *_this, MR_HistoryAction_Type _1)
MR_ChangeObjectAction
struct MR_ChangeObjectAction MR_ChangeObjectAction
Definition
MRChangeObjectAction.h:24
MR_ChangeObjectAction_ConstructFromAnother
MRC_API MR_ChangeObjectAction * MR_ChangeObjectAction_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ChangeObjectAction *_other)
MR_std_string
struct MR_std_string MR_std_string
Definition
MRCtm.h:32
MRHistoryAction.h
MR_HistoryAction_Type
MR_HistoryAction_Type
Definition
MRHistoryAction.h:65
common.h
MR_PassBy
MR_PassBy
Definition
common.h:23
MR_uint64_t
uint64_t MR_uint64_t
Definition
common.h:18
exports.h
MRC_API
#define MRC_API
Definition
exports.h:11
name
virtual std::string name() const override
MeshLib
Cbindings
MRCMesh
MRChangeObjectAction.h
Generated by
1.11.0