#include <c4d_baseobject.h>
Class to enable safe modification of objects under low memory conditions such that any failure can restore the object to its original form.
公共成员函数 |
|
Safety () | |
~Safety () | |
Bool | Init ( BaseObject *op) |
void | Detach (void) |
Private Attributes |
|
ObjectSafety * | os |
Safety | ( | ) |
Default constructor.
~ Safety | ( | ) |
Default destructor.
Bool Init | ( | BaseObject * | op | ) |
Initializes the object ready for modification.
[in] | op | The object that is about to be changed. The caller owns the pointed object. |
void Detach | ( | void | ) |
Releases the object from the class when modification is complete.
ObjectSafety* os | private |