ICustEditDestructorPolicy Class Reference
 
 
 
ICustEditDestructorPolicy Class Reference

#include <custcont.h>

Inheritance diagram for ICustEditDestructorPolicy:
MaxHeapOperators

Class Description

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
See also:
class ICustEdit, class AutoPtr

Static Public Member Functions

static void  Delete (ICustEdit *edit)

Member Function Documentation

static void Delete ( ICustEdit edit ) [inline, static]