Implements the draft C++ standard auto_ptr abstraction. This class allows one to work Stub Objects *Only*!
More...
#include <Stub.h>
List of all members.
Detailed Description
Implements the draft C++ standard auto_ptr abstraction. This class allows one to work Stub Objects *Only*!
Definition at line 419 of file Stub.h.
Constructor & Destructor Documentation
TAO_Stub_Auto_Ptr::TAO_Stub_Auto_Ptr |
( |
TAO_Stub * |
p = 0 |
) |
[explicit] |
Definition at line 394 of file Stub.inl.
: p_ (rhs.release ())
{
ACE_TRACE ("TAO_Stub_Auto_Ptr::TAO_Stub_Auto_Ptr");
}
TAO_Stub_Auto_Ptr::~TAO_Stub_Auto_Ptr |
( |
void |
|
) |
|
Definition at line 412 of file Stub.inl.
{
ACE_TRACE ("TAO_Stub_Auto_Ptr::~TAO_Stub_Auto_Ptr");
if (this->get() != 0)
this->get ()->_decr_refcnt ();
}
Member Function Documentation
TAO_Stub * TAO_Stub_Auto_Ptr::get |
( |
void |
|
) |
const |
TAO_Stub & TAO_Stub_Auto_Ptr::operator* |
( |
void |
|
) |
const |
Definition at line 422 of file Stub.inl.
{
ACE_TRACE ("TAO_Stub_Auto_Ptr::operator *()");
return *this->get ();
}
TAO_Stub * TAO_Stub_Auto_Ptr::operator-> |
( |
void |
|
) |
const |
Definition at line 387 of file Stub.inl.
{
ACE_TRACE ("TAO_Stub_Auto_Ptr::operator->");
return this->get ();
}
TAO_Stub * TAO_Stub_Auto_Ptr::release |
( |
void |
|
) |
|
void TAO_Stub_Auto_Ptr::reset |
( |
TAO_Stub * |
p = 0 |
) |
|
Definition at line 378 of file Stub.inl.
{
ACE_TRACE ("TAO_Stub_Auto_Ptr::reset");
if (this->get () != p && this->get () != 0)
this->get ()->_decr_refcnt ();
this->p_ = p;
}
Member Data Documentation
The documentation for this class was generated from the following files: