#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.
Public Member Functions | |
| 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 | ) |
|
private |