#include <smartpointer.h>
Inheritance diagram for smartable:

Public Member Functions | |
| unsigned | refs () const |
| gives the reference count of the object | |
| void | addReference () |
| addReference increments the ref count and checks for refCount overflow | |
| void | removeReference () |
| removeReference delete the object when refCount is zero | |
Protected Member Functions | |
| smartable (const smartable &) | |
| virtual | ~smartable () |
| destructor checks for non-zero refCount | |
| smartable & | operator= (const smartable &) |
1.3.3