#include <SmartPtr.h>
Protected Methods | |
| CountedRef () | |
| CountedRef (const CountedRef &c) | |
| template<class PointerType> void | increment (PointerType &) |
| template<class PointerType> bool | decrement (PointerType &) |
| template<class PointerType> void | swap (PointerType &p) |
|
|
Create a new CountedRef with a count of 1. |
|
|
Copy another CountedRef, sharing its count.
|
|
|
Decrement the reference count.
|
|
|
Increment the reference count. |
|
|
Swap the the internal count with another CountedRef. |
1.2.15