Public Member Functions | |
| template<class Other> | |
| SharedPtr & | operator= (Other *other) |
Assigns a pointer of type Other. | |
| template<class Other> | |
| SharedPtr & | operator= (const SharedPtr< Other > &other) |
Assigns a pointer of type Other from a SharedPtr object. | |
| SharedPtr & | operator= (Target *other) |
| Assigns a pointer. | |
| template<class Other> | |
| SharedPtr (const SharedPtr< Other > &other) | |
| Constructor, given another SharedPtr. | |
| SharedPtr (const SharedPtr &other) | |
| Constructor, given another SharedPtr. | |
| SharedPtr (const Target *ptr) | |
| Explicit copy constructor, given a pointer. | |
| SharedPtr (const NullSharedBase *ptr) | |
| Constructor for the NULL pointer. | |
| SharedPtr () | |
| Constructor. | |
| ~SharedPtr () | |
| Destructor. | |
| gemfire::SharedPtr< Target >::SharedPtr | ( | ) | [inline] |
Constructor.
| gemfire::SharedPtr< Target >::SharedPtr | ( | const NullSharedBase * | ptr | ) | [inline] |
Constructor for the NULL pointer.
| gemfire::SharedPtr< Target >::SharedPtr | ( | const Target * | ptr | ) | [inline, explicit] |
Explicit copy constructor, given a pointer.
| ClassCastException | if Target pointer cannot be converted to SharedBase pointer (dynamic_cast to SharedBase* fails). |
| gemfire::SharedPtr< Target >::SharedPtr | ( | const SharedPtr< Target > & | other | ) | [inline] |
Constructor, given another SharedPtr.
| gemfire::SharedPtr< Target >::SharedPtr | ( | const SharedPtr< Other > & | other | ) | [inline] |
Constructor, given another SharedPtr.
| ClassCastException | if Other pointer cannot be converted to Target pointer (dynamic_cast to Target* fails). |
| gemfire::SharedPtr< Target >::~SharedPtr | ( | ) | [inline] |
Destructor.
| SharedPtr& gemfire::SharedPtr< Target >::operator= | ( | Other * | other | ) | [inline] |
Assigns a pointer of type Other.
| ClassCastException | if Other pointer cannot be converted to Target pointer (dynamic_cast to Target* fails), or if Other pointer cannot be converted to SharedBase pointer (dynamic_cast to SharedBase* fails). |
| SharedPtr& gemfire::SharedPtr< Target >::operator= | ( | const SharedPtr< Other > & | other | ) | [inline] |
Assigns a pointer of type Other from a SharedPtr object.
| ClassCastException | if Other pointer cannot be converted to Target pointer (dynamic_cast to Target* fails). |
| SharedPtr& gemfire::SharedPtr< Target >::operator= | ( | Target * | other | ) | [inline] |
Assigns a pointer.
| ClassCastException | if Target pointer cannot be converted to SharedBase pointer (dynamic_cast to SharedBase* fails). |