Static Public Member Functions

ICustStatusDestructorPolicy Class Reference

Search for all occurrences

Detailed Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ICustStatus pointers.

Sample Code:

MaxSDK::AutoPtr<ICustStatus, ICustStatusDestructorPolicy> custStatus(GetICustStatus(hwnd));
custStatus->GetText(theText);
// when custStatus goes out of scope, its Delete method is called, which calls ReleaseICustStatus
See also:
class ICustStatus, class AutoPtr

#include <custcont.h>

Inheritance diagram for ICustStatusDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ICustStatus *custStatus)

Member Function Documentation

static void Delete ( ICustStatus custStatus ) [inline, static]
    {
        ReleaseICustStatus(custStatus);
    }

ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy
ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy ICustStatusDestructorPolicy