#include <SmartPtr.h>
Public Methods | |
| SmartPtr () | |
| SmartPtr (T *instance) | |
| template<typename T1, class LT1, class OP1> | SmartPtr (const SmartPtr< T1, LT1, OP1 > &p) |
| SmartPtr (const SmartPtr &p) | |
| ~SmartPtr () | |
| template<typename T1, class LT1, class OP1> SmartPtr & | operator= (const SmartPtr< T1, LT1, OP1 > &p) |
| SmartPtr & | operator= (const SmartPtr &p) |
| bool | operator! () const |
| T * | operator-> () |
| T & | operator * () |
| bool | operator== (const SmartPtr &p) |
| bool | operator!= (const SmartPtr &p) |
| template<typename T1, class LT1, class OP1> bool | operator== (const SmartPtr< T1, LT1, OP1 > &p) const |
| template<typename T1, class LT1, class OP1> bool | operator!= (const SmartPtr< T1, LT1, OP1 > &p) const |
| template<typename T1, class LT1, class OP1> bool | operator< (const SmartPtr< T1, LT1, OP1 > &q) |
Friends | |
| bool | operator== (const SmartPtr &p, const T *q) |
| bool | operator!= (const SmartPtr &p, const T *q) |
| bool | operator== (const T *p, const SmartPtr &q) |
| bool | operator!= (const T *p, const SmartPtr &q) |
This smart pointer doesn't support pointers to arrays. This smart pointer doesn't support locked pointer reference - to be added in a later policy
This class is used to keep track of Queues for Executors.
|
|
Create a new SmartPtr, instantiating an instance of T using its default constructor. |
|
|
Create a new SmartPtr, using the given instance of T.
|
|
|
Create a new SmartPtr, using the given SmartPtrs pointee.
|
|
|
Create a new SmartPtr, using the given SmartPtrs pointee.
|
|
|
Destroy the smart pointer, deleting the instance of T if the ownership policy indicates it is time to do so. |
|
|
Dereference operator.
|
|
|
Compare the pointee to 0.
|
|
|
Compare this SmartPtr to another, for inequality. This function eliminates ambiguity errors.
|
|
|
Compare a SmartPtr to another pointer, for inequality, by comparing the 'pointee's of the SmartPtrs.
|
|
|
Dereference operator.
|
|
|
Compare a SmartPt to another, for ordering, by comparing the 'pointee's of the SmartPtrs. This function eliminates ambiguity errors.
|
|
|
Assign this SmartPtr to the pointee of another.
|
|
|
Assign this SmartPtr to the pointee of another.
|
|
|
Compare this SmartPtr to another, for equality. This function eliminates ambiguity errors.
|
|
|
Compare a SmartPtr to another pointer, for equality, by comparing the 'pointee's of the SmartPtrs.
|
|
||||||||||||
|
Compare a raw pointer to a SmartPtr, for inequality, by comparing the 'pointee' of the SmartPtr to the raw pointer.
|
|
||||||||||||
|
Compare a SmartPtr to a raw pointer, for inequality, by comparing the 'pointee' of the SmartPtr to the raw pointer.
|
|
||||||||||||
|
Compare a raw pointer to a SmartPtr, for equality, by comparing the 'pointee' of the SmartPtr to the raw pointer.
|
|
||||||||||||
|
Compare a SmartPtr to a raw pointer, for equality, by comparing the 'pointee' of the SmartPtr to the raw pointer. This function is responsible for all == comparisions.
|
1.2.15