Static Public Member Functions

ICUIFrameDestructorPolicy Class Reference

Search for all occurrences

Detailed Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ICUIFrame pointers.

Sample Code:

MaxSDK::AutoPtr<ICUIFrame, ICUIFrameDestructorPolicy> iFrame(GetICUIFrame(data->hFrameWnd));
iFrame->SetContentType(CUI_HWND);
iFrame->SetPosType(style);
// when iFrame goes out of scope, its Delete method is called, which calls ReleaseICUIFrame
See also:
class ICUIFrame, class AutoPtr

#include <custcont.h>

Inheritance diagram for ICUIFrameDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ICUIFrame *iFrame)

Member Function Documentation

static void Delete ( ICUIFrame iFrame ) [inline, static]
    {
        ReleaseICUIFrame(iFrame);
    }

ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy
ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy ICUIFrameDestructorPolicy