A reference counted pointer to an object.
The object being pointed to must inherit from IMP::RefCountedObject. Use an IMP::WeakPointer to break cycles or to point to non-ref-counted objects.
| [in] | O | The type of IMP::RefCounted-derived object to point to |
Inherits PointerBase< internal::OwnerPointerTraits< O > >.
Public Types | |
|
typedef internal::PointerBase < internal::OwnerPointerTraits < O > > | P |
Public Member Functions | |
| template<class Any > | |
| OwnerPointer (const Any &o) | |
| template<class OT > | |
| OwnerPointer< O > & | operator= (const internal::PointerBase< OT > &o) |
| template<class OT > | |
| OwnerPointer< O > & | operator= (OT *o) |
| OwnerPointer< O > & | operator= (nullptr_t o) |
| OwnerPointer< O > & | operator= (const P &o) |