MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectFactory.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
13
14
18
24MRC_API MR_std_shared_ptr_MR_Object *MR_createObject(const char *className, const char *className_end);
25
30
34
38
41
44
51
52#ifdef __cplusplus
53} // extern "C"
54#endif
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:39
MRC_API void MR_ObjectFactoryBase_DestroyArray(const MR_ObjectFactoryBase *_this)
Destroys a heap-allocated array of MR_ObjectFactoryBase. Does nothing if the pointer is null.
MRC_API const MR_ObjectFactoryBase * MR_ObjectFactoryBase_OffsetPtr(const MR_ObjectFactoryBase *ptr, ptrdiff_t i)
MRC_API MR_ObjectFactoryBase * MR_ObjectFactoryBase_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectFactoryBase *_other)
MRC_API MR_ObjectFactoryBase * MR_ObjectFactoryBase_OffsetMutablePtr(MR_ObjectFactoryBase *ptr, ptrdiff_t i)
MRC_API MR_ObjectFactoryBase * MR_ObjectFactoryBase_AssignFromAnother(MR_ObjectFactoryBase *_this, MR_PassBy _other_pass_by, MR_ObjectFactoryBase *_other)
MRC_API void MR_ObjectFactoryBase_Destroy(const MR_ObjectFactoryBase *_this)
Destroys a heap-allocated instance of MR_ObjectFactoryBase. Does nothing if the pointer is null.
MRC_API MR_std_shared_ptr_MR_Object * MR_createObject(const char *className, const char *className_end)
struct MR_ObjectFactoryBase MR_ObjectFactoryBase
Definition MRObjectFactory.h:17
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11