NCL Library
Public Member Functions
DDE::CltConvPtr Class Reference

The smart-pointer type used to manage a DDE Client Conversation. More...

#include <DDECltConvPtr.hpp>

List of all members.

Public Member Functions

 CltConvPtr ()
 Default constructor.
 CltConvPtr (CDDECltConv *pPointer, bool bAddRef=false)
 Attach an existing pointer.
 CltConvPtr (const CltConvPtr &oPtr)
 Copy constructor.
 ~CltConvPtr ()
 Destructor.
CltConvPtroperator= (const CltConvPtr &oPtr)
 Assignment operator.
void Release ()
 Release the pointer.

Detailed Description

The smart-pointer type used to manage a DDE Client Conversation.

These are reference counted internally by the DDEClient.


Constructor & Destructor Documentation

Default constructor.

DDE::CltConvPtr::CltConvPtr ( CDDECltConv pPointer,
bool  bAddRef = false 
) [inline, explicit]

Attach an existing pointer.

This either takes ownership of the pointer or if bAddRef is true, shares ownership by requesting a copy.

DDE::CltConvPtr::CltConvPtr ( const CltConvPtr oPtr) [inline]

Copy constructor.

This creates a copy by opening the conversation again, which only needs to increase the reference count.

Destructor.


Member Function Documentation

CltConvPtr & DDE::CltConvPtr::operator= ( const CltConvPtr oPtr) [inline]

Assignment operator.

Assignment operator.This creates a copy by opening the conversation again, which only needs to increase the reference count.

void DDE::CltConvPtr::Release ( ) [inline]

Release the pointer.


The documentation for this class was generated from the following file: