#include <CWeakPtr.h>
Public Types | |
typedef ValueType | value_type |
typedef value_type * | data_type |
typedef boost::shared_ptr < data_type > | ptr_type |
Public Member Functions | |
CWeakPtr (const CWeakPtrFacade< ValueType > &val) | |
Construct from something, which supports weak pointers. | |
CWeakPtr (const self &rhs) | |
Copy constructor. | |
~CWeakPtr () | |
Destructor. | |
const value_type & | operator* () const |
Dereferencing generates strong-referenced instance. | |
value_type * | operator-> () const |
Dereferencing generates strong-referenced instance. | |
operator bool () const | |
Validity test. |
typedef ValueType polybori::CWeakPtr< ValueType >::value_type |
typedef value_type* polybori::CWeakPtr< ValueType >::data_type |
typedef boost::shared_ptr<data_type> polybori::CWeakPtr< ValueType >::ptr_type |
polybori::CWeakPtr< ValueType >::CWeakPtr | ( | const CWeakPtrFacade< ValueType > & | val | ) | [inline, explicit] |
Construct from something, which supports weak pointers.
polybori::CWeakPtr< ValueType >::CWeakPtr | ( | const self & | rhs | ) | [inline] |
Copy constructor.
polybori::CWeakPtr< ValueType >::~CWeakPtr | ( | ) | [inline] |
Destructor.
const value_type& polybori::CWeakPtr< ValueType >::operator* | ( | ) | const [inline] |
Dereferencing generates strong-referenced instance.
value_type* polybori::CWeakPtr< ValueType >::operator-> | ( | ) | const [inline] |
Dereferencing generates strong-referenced instance.
polybori::CWeakPtr< ValueType >::operator bool | ( | ) | const [inline] |
Validity test.