Go to the source code of this file.
Typedefs | |
| typedef struct MR_ObjectFactoryBase | MR_ObjectFactoryBase |
| Generated from class MR::ObjectFactoryBase. | |
Functions | |
| MRC_API MR_std_shared_ptr_MR_Object * | MR_createObject (const char *className, const char *className_end) |
| 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 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) |
| typedef struct MR_ObjectFactoryBase MR_ObjectFactoryBase |
Generated from class MR::ObjectFactoryBase.
| MRC_API MR_std_shared_ptr_MR_Object * MR_createObject | ( | const char * | className, |
| const char * | className_end ) |
the function to create new object instance by registered class name Generated from function MR::createObject. Parameter className can not be null. If className_end is null, then className is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| 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 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 MR_ObjectFactoryBase * MR_ObjectFactoryBase_OffsetMutablePtr | ( | MR_ObjectFactoryBase * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_ObjectFactoryBase * MR_ObjectFactoryBase_OffsetPtr | ( | const MR_ObjectFactoryBase * | 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. The reference to the parameter ptr might be preserved in the return value.