Class representing the DestructorPolicy for AutoPtr instances wrapping ICustEdit pointers.
Sample Code:
MaxSDK::AutoPtr<ICustEdit, ICustEditDestructorPolicy> edit(GetICustEdit(edit_box)); edit->SetParamBlock(pblock, pblock->GetAnimNum(pid->id, pid->tabIndex)); // when edit goes out of scope, its Delete method is called, which calls ReleaseICustEdit
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (ICustEdit *edit) |
static void Delete | ( | ICustEdit * | edit | ) | [inline, static] |
{ ReleaseICustEdit(edit); }