NCL Library
|
The smart-pointer type used to manage a DDE Client Conversation. More...
#include <DDECltConvPtr.hpp>
Public Member Functions | |
CltConvPtr () | |
Default constructor. | |
CltConvPtr (CDDECltConv *pPointer, bool bAddRef=false) | |
Attach an existing pointer. | |
CltConvPtr (const CltConvPtr &oPtr) | |
Copy constructor. | |
~CltConvPtr () | |
Destructor. | |
CltConvPtr & | operator= (const CltConvPtr &oPtr) |
Assignment operator. | |
void | Release () |
Release the pointer. |
The smart-pointer type used to manage a DDE Client Conversation.
These are reference counted internally by the DDEClient.
DDE::CltConvPtr::CltConvPtr | ( | ) | [inline] |
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.
DDE::CltConvPtr::~CltConvPtr | ( | ) | [inline] |
Destructor.
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.