#include <c4d_customdatatype.h>
The base class for data types with Alloc() and Free() for use in libraries. Pass the public data type as template parameter.
静态公共成员函数 |
|
static X * | Alloc () |
static void | Free (X *&data) |
|
static |
Allocates an X data type. Destroy the allocated X data type with Free() 。使用 AutoAlloc to automate the allocation and destruction based on scope.
|
static |
Destructs X data types allocated with Alloc() 。使用 AutoAlloc to automate the allocation and destruction based on scope.
[in,out] | data | The X data type to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. |