#include <refcounter.h>
Inherited by RefCounterPtr< T, RetT >.
Inheritance diagram for RefCounterPtrBase:

Protected Member Functions | |
| RefCounterPtrBase () | |
Static Protected Member Functions | |
| static void | incRef (RefCounter &rc) |
| static void | decRef (RefCounter &rc) |
The RefCounterPtrBase is declared as a friend of RefCounter class and provides protected methods for calling its private methods for increasing or decreasing reference count. Therefore only classes derived from this "base" can modify the reference count. Those should be some RefCounterPtr classes that provides overloaded operators and behaving themselves like pointers.
Definition at line 83 of file refcounter.h.
|
|
Definition at line 86 of file refcounter.h. |
|
|
Definition at line 88 of file refcounter.h. References RefCounter::decRef(). Referenced by RefCounterPtr< T, RetT >::operator=(), and RefCounterPtr< T, RetT >::~RefCounterPtr(). Here is the call graph for this function: ![]() |
|
|
Definition at line 87 of file refcounter.h. References RefCounter::incRef(). Referenced by RefCounterPtr< T, RetT >::operator=(). Here is the call graph for this function: ![]() |
1.4.5