Static Public Member Functions

ICustEditDestructorPolicy Class Reference

Search for all occurrences

Detailed 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

#include <custcont.h>

Inheritance diagram for ICustEditDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ICustEdit *edit)

Member Function Documentation

static void Delete ( ICustEdit edit ) [inline, static]
    {
        ReleaseICustEdit(edit);
    }

ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy
ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy ICustEditDestructorPolicy