#include <MRCMesh/MRHistoryAction.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_HistoryAction | MR_HistoryAction |
| typedef struct MR_ObjectMeshData | MR_ObjectMeshData |
| typedef struct MR_std_shared_ptr_MR_ObjectMesh | MR_std_shared_ptr_MR_ObjectMesh |
| typedef struct MR_std_string | MR_std_string |
| typedef struct MR_ChangeMeshDataAction | MR_ChangeMeshDataAction |
| typedef struct MR_PartialChangeMeshDataAction | MR_PartialChangeMeshDataAction |
| typedef struct MR_ChangeMeshDataAction MR_ChangeMeshDataAction |
Undo action for ObjectMeshData change Generated from class MR::ChangeMeshDataAction. Base classes: Direct: (non-virtual) MR::HistoryAction
| typedef struct MR_HistoryAction MR_HistoryAction |
| typedef struct MR_ObjectMeshData MR_ObjectMeshData |
| typedef struct MR_PartialChangeMeshDataAction MR_PartialChangeMeshDataAction |
Undo action for ObjectMeshData change partially Generated from class MR::PartialChangeMeshDataAction. Base classes: Direct: (non-virtual) MR::HistoryAction
| typedef struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh |
| typedef struct MR_std_string MR_std_string |
| MRC_API void MR_ChangeMeshDataAction_action | ( | MR_ChangeMeshDataAction * | _this, |
| MR_HistoryAction_Type | _1 ) |
Generated from a method of class MR::ChangeMeshDataAction named action. Parameter _this can not be null. It is a single object.
| MRC_API MR_ChangeMeshDataAction * MR_ChangeMeshDataAction_AssignFromAnother | ( | MR_ChangeMeshDataAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ChangeMeshDataAction * | _other ) |
Generated from a method of class MR::ChangeMeshDataAction named operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ChangeMeshDataAction * MR_ChangeMeshDataAction_Construct_bool | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectMesh * | obj, | ||
| bool | cloneMesh ) |
use this constructor to remember object's data before making any changes in it Generated from a constructor of class MR::ChangeMeshDataAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. Parameter obj can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeMeshDataAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeMeshDataAction * MR_ChangeMeshDataAction_Construct_MR_ObjectMeshData | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectMesh * | obj, | ||
| MR_ObjectMeshData * | newData ) |
use this constructor to remember object's data and immediately set new data Generated from a constructor of class MR::ChangeMeshDataAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. Parameter obj can not be null. It is a single object. Parameter newData can not be null. It is a single object. In C++ this parameter takes an rvalue reference: it might invalidate the passed object, but if your pointer is owning, you must still destroy it manually later. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeMeshDataAction_Destroy() to free it when you're done using it.
| MRC_API MR_ChangeMeshDataAction * MR_ChangeMeshDataAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ChangeMeshDataAction * | _other ) |
Generated from a constructor of class MR::ChangeMeshDataAction. Never returns null. Returns an instance allocated on the heap! Must call MR_ChangeMeshDataAction_Destroy() to free it when you're done using it.
| MRC_API const MR_ObjectMeshData * MR_ChangeMeshDataAction_data | ( | const MR_ChangeMeshDataAction * | _this | ) |
Generated from a method of class MR::ChangeMeshDataAction named data. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API void MR_ChangeMeshDataAction_Destroy | ( | const MR_ChangeMeshDataAction * | _this | ) |
Destroys a heap-allocated instance of MR_ChangeMeshDataAction. Does nothing if the pointer is null.
| MRC_API void MR_ChangeMeshDataAction_DestroyArray | ( | const MR_ChangeMeshDataAction * | _this | ) |
Destroys a heap-allocated array of MR_ChangeMeshDataAction. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_ChangeMeshDataAction_heapBytes | ( | const MR_ChangeMeshDataAction * | _this | ) |
Generated from a method of class MR::ChangeMeshDataAction named heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_HistoryAction * MR_ChangeMeshDataAction_MutableUpcastTo_MR_HistoryAction | ( | MR_ChangeMeshDataAction * | object | ) |
Upcasts an instance of MR::ChangeMeshDataAction to its base class MR::HistoryAction.
| MRC_API MR_std_string * MR_ChangeMeshDataAction_name | ( | const MR_ChangeMeshDataAction * | _this | ) |
Generated from a method of class MR::ChangeMeshDataAction named 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.
| MRC_API const MR_std_shared_ptr_MR_ObjectMesh * MR_ChangeMeshDataAction_obj | ( | const MR_ChangeMeshDataAction * | _this | ) |
Generated from a method of class MR::ChangeMeshDataAction named obj. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ChangeMeshDataAction * MR_ChangeMeshDataAction_OffsetMutablePtr | ( | MR_ChangeMeshDataAction * | 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.
| MRC_API const MR_ChangeMeshDataAction * MR_ChangeMeshDataAction_OffsetPtr | ( | const MR_ChangeMeshDataAction * | 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.
| MRC_API void MR_ChangeMeshDataAction_setObjectDirty | ( | const MR_std_shared_ptr_MR_ObjectMesh * | obj | ) |
Generated from a method of class MR::ChangeMeshDataAction named setObjectDirty. Parameter obj can not be null. It is a single object.
| MRC_API const MR_HistoryAction * MR_ChangeMeshDataAction_UpcastTo_MR_HistoryAction | ( | const MR_ChangeMeshDataAction * | object | ) |
Upcasts an instance of MR::ChangeMeshDataAction to its base class MR::HistoryAction. This version is acting on mutable pointers.
| MRC_API void MR_PartialChangeMeshDataAction_action | ( | MR_PartialChangeMeshDataAction * | _this, |
| MR_HistoryAction_Type | type ) |
Generated from a method of class MR::PartialChangeMeshDataAction named action. Parameter _this can not be null. It is a single object.
| MRC_API MR_PartialChangeMeshDataAction * MR_PartialChangeMeshDataAction_AssignFromAnother | ( | MR_PartialChangeMeshDataAction * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PartialChangeMeshDataAction * | _other ) |
Generated from a method of class MR::PartialChangeMeshDataAction named operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_PartialChangeMeshDataAction * MR_PartialChangeMeshDataAction_Construct | ( | const char * | name, |
| const char * | name_end, | ||
| const MR_std_shared_ptr_MR_ObjectMesh * | obj, | ||
| MR_ObjectMeshData * | newData ) |
use this constructor to remember object's data and immediately set new data Generated from a constructor of class MR::PartialChangeMeshDataAction. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. Parameter obj can not be null. It is a single object. Parameter newData can not be null. It is a single object. In C++ this parameter takes an rvalue reference: it might invalidate the passed object, but if your pointer is owning, you must still destroy it manually later. Never returns null. Returns an instance allocated on the heap! Must call MR_PartialChangeMeshDataAction_Destroy() to free it when you're done using it.
| MRC_API MR_PartialChangeMeshDataAction * MR_PartialChangeMeshDataAction_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PartialChangeMeshDataAction * | _other ) |
Generated from a constructor of class MR::PartialChangeMeshDataAction. Never returns null. Returns an instance allocated on the heap! Must call MR_PartialChangeMeshDataAction_Destroy() to free it when you're done using it.
| MRC_API void MR_PartialChangeMeshDataAction_Destroy | ( | const MR_PartialChangeMeshDataAction * | _this | ) |
Destroys a heap-allocated instance of MR_PartialChangeMeshDataAction. Does nothing if the pointer is null.
| MRC_API void MR_PartialChangeMeshDataAction_DestroyArray | ( | const MR_PartialChangeMeshDataAction * | _this | ) |
Destroys a heap-allocated array of MR_PartialChangeMeshDataAction. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_PartialChangeMeshDataAction_heapBytes | ( | const MR_PartialChangeMeshDataAction * | _this | ) |
Generated from a method of class MR::PartialChangeMeshDataAction named heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_HistoryAction * MR_PartialChangeMeshDataAction_MutableUpcastTo_MR_HistoryAction | ( | MR_PartialChangeMeshDataAction * | object | ) |
Upcasts an instance of MR::PartialChangeMeshDataAction to its base class MR::HistoryAction.
| MRC_API MR_std_string * MR_PartialChangeMeshDataAction_name | ( | const MR_PartialChangeMeshDataAction * | _this | ) |
Generated from a method of class MR::PartialChangeMeshDataAction named 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.
| MRC_API MR_PartialChangeMeshDataAction * MR_PartialChangeMeshDataAction_OffsetMutablePtr | ( | MR_PartialChangeMeshDataAction * | 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.
| MRC_API const MR_PartialChangeMeshDataAction * MR_PartialChangeMeshDataAction_OffsetPtr | ( | const MR_PartialChangeMeshDataAction * | 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.
| MRC_API const MR_HistoryAction * MR_PartialChangeMeshDataAction_UpcastTo_MR_HistoryAction | ( | const MR_PartialChangeMeshDataAction * | object | ) |
Upcasts an instance of MR::PartialChangeMeshDataAction to its base class MR::HistoryAction. This version is acting on mutable pointers.