IMP logo
Public Types | Public Member Functions
IMP::base::OwnerPointer< O > Struct Template Reference

Detailed Description

template<class O>
struct IMP::base::OwnerPointer< O >

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.

Parameters:
[in]OThe type of IMP::RefCounted-derived object to point to

Inherits PointerBase< internal::OwnerPointerTraits< O > >.

List of all members.

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)

The documentation for this struct was generated from the following file:

Generated on Tue May 22 2012 23:33:28 for IMP by doxygen 1.8.1