MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectFactory.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
12
13
16
22MRC_API MR_std_shared_ptr_MR_Object *MR_createObject(const char *className, const char *className_end);
23
26
29
33
37
38#ifdef __cplusplus
39} // extern "C"
40#endif
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:35
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_OffsetMutablePtr(MR_ObjectFactoryBase *ptr, ptrdiff_t i)
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
Generated from class MR::ObjectFactoryBase.
Definition MRObjectFactory.h:15
#define MRC_API
Definition include/MRCMisc/exports.h:11