Static Public Member Functions

ICustImageDestructorPolicy Class Reference

Search for all occurrences

Detailed Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ICustImage pointers.

Sample Code:

MaxSDK::AutoPtr<ICustImage, ICustImageDestructorPolicy> custImage(GetICustImage(hwnd));
custImage->SetImage( hImage, index, w,  h );
// when custImage goes out of scope, its Delete method is called, which calls ReleaseICustImage
See also:
class ICustImage, class AutoPtr

#include <custcont.h>

Inheritance diagram for ICustImageDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ICustImage *custImage)

Member Function Documentation

static void Delete ( ICustImage custImage ) [inline, static]
    {
        ReleaseICustImage(custImage);
    }

ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy
ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy ICustImageDestructorPolicy