#include <SmartPointer.h>
Public Member Functions | |
SmartPointerItem () throw () | |
void | ref () throw () |
Increment the reference count for this object. | |
bool | unref () throw () |
Decrement the reference count for this object, returning true when it reaches 0. | |
Protected Attributes | |
int | _ref |
buffy::SmartPointerItem::SmartPointerItem | ( | ) | throw () [inline] |
void buffy::SmartPointerItem::ref | ( | ) | throw () [inline] |
Increment the reference count for this object.
bool buffy::SmartPointerItem::unref | ( | ) | throw () [inline] |
Decrement the reference count for this object, returning true when it reaches 0.
int buffy::SmartPointerItem::_ref [protected] |