| ACE 8.0.0
    | 
This class implements support for a reference counted pointer. More...
#include <Bound_Ptr.h>

| Public Member Functions | |
| ACE_Strong_Bound_Ptr (X *p=0) | |
| ACE_Strong_Bound_Ptr (const ACE_Strong_Bound_Ptr< X, ACE_LOCK > &r) | |
| Copy constructor binds thisand r to the same object. | |
| ACE_Strong_Bound_Ptr (const ACE_Weak_Bound_Ptr< X, ACE_LOCK > &r) | |
| Constructor binds thisand r to the same object. | |
| template<class Y > | |
| ACE_Strong_Bound_Ptr (const ACE_Strong_Bound_Ptr< Y, ACE_LOCK > &r) | |
| ~ACE_Strong_Bound_Ptr () | |
| Destructor. | |
| void | operator= (const ACE_Strong_Bound_Ptr< X, ACE_LOCK > &r) | 
| Assignment operator that binds thisand r to the same object. | |
| void | operator= (const ACE_Weak_Bound_Ptr< X, ACE_LOCK > &r) | 
| Assignment operator that binds thisand r to the same object. | |
| template<class Y > | |
| ACE_Weak_Bound_Ptr< X, ACE_LOCK > & | operator= (const ACE_Strong_Bound_Ptr< Y, ACE_LOCK > &r) | 
| bool | operator== (const ACE_Strong_Bound_Ptr< X, ACE_LOCK > &r) const | 
| bool | operator== (const ACE_Weak_Bound_Ptr< X, ACE_LOCK > &r) const | 
| bool | operator== (X *p) const | 
| bool | operator!= (const ACE_Strong_Bound_Ptr< X, ACE_LOCK > &r) const | 
| Inequality operator, which is the opposite of equality. | |
| bool | operator!= (const ACE_Weak_Bound_Ptr< X, ACE_LOCK > &r) const | 
| Inequality operator, which is the opposite of equality. | |
| bool | operator!= (X *p) const | 
| Inequality operator, which is the opposite of equality. | |
| X * | operator-> () const | 
| Redirection operator. | |
| X & | operator* () const | 
| Dereference operator. | |
| X * | get () const | 
| Get the pointer value. | |
| void | reset (X *p=0) | 
| bool | null () const | 
| Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
| Private Types | |
| typedef ACE_Bound_Ptr_Counter< ACE_LOCK > | COUNTER | 
| The ACE_Bound_Ptr_Counter type. | |
| Private Attributes | |
| COUNTER * | counter_ | 
| The reference counter. | |
| X * | ptr_ | 
| The underlying object. | |
| Friends | |
| class | ACE_Weak_Bound_Ptr< X, ACE_LOCK > | 
| template<class Y , class L > | |
| class | ACE_Strong_Bound_Ptr | 
This class implements support for a reference counted pointer.
Assigning or copying instances of an ACE_Strong_Bound_Ptr will automatically increment the reference count of the underlying object. When the last instance of an ACE_Strong_Bound_Ptr that references a particular object is destroyed or overwritten, it will invoke delete on its underlying pointer.
| 
 | private | 
The ACE_Bound_Ptr_Counter type.
| 
 | inlineexplicit | 
Constructor that initializes an ACE_Strong_Bound_Ptr to point to the object <p> immediately.
| 
 | inline | 
Copy constructor binds this and r to the same object. 
| 
 | inline | 
Constructor binds this and r to the same object. 
| 
 | inline | 
Copy constructor binds this and r to the same object if Y* can be implicitly converted to X*. 
| 
 | inline | 
Destructor.
Get the pointer value.
Allows us to check for NULL on all ACE_Strong_Bound_Ptr objects.
| 
 | inline | 
Inequality operator, which is the opposite of equality.
| 
 | inline | 
Inequality operator, which is the opposite of equality.
| 
 | inline | 
Inequality operator, which is the opposite of equality.
| 
 | inline | 
Dereference operator.
| 
 | inline | 
Redirection operator.
| 
 | inline | 
Assignment operator that binds this and r to the same object. 
| 
 | inline | 
Assignment operator that binds this and r to the same object if Y* can be implicitly converted to X*. 
| 
 | inline | 
Assignment operator that binds this and r to the same object. 
| 
 | inline | 
Equality operator that returns true if both ACE_Strong_Bound_Ptr instances point to the same underlying object. 
true if both objects have just been instantiated and not used yet. | 
 | inline | 
Equality operator that returns true if the ACE_Strong_Bound_Ptr and ACE_Weak_Bound_Ptr objects point to the same underlying object.
true if both objects have just been instantiated and not used yet. | 
 | inline | 
Equality operator that returns true if the ACE_Strong_Bound_Ptr and the raw pointer point to the same underlying object. 
| 
 | inline | 
Resets the ACE_Strong_Bound_Ptr to refer to a different underlying object.
| 
 | friend | 
| ACE_Strong_Bound_Ptr< X, ACE_LOCK >::ACE_ALLOC_HOOK_DECLARE | 
Declare the dynamic allocation hooks.
The reference counter.
The underlying object.