#include <ShRefCount.hpp>
Inheritance diagram for SH::ShPointer< T >:
Public Member Functions | |
ShPointer (T *object) | |
ShPointer (const ShPointer &other) | |
template<typename S> | |
ShPointer (const ShPointer< S > &other) | |
ShPointer & | operator= (T *other) |
ShPointer & | operator= (const ShPointer &other) |
template<typename S> | |
ShPointer & | operator= (const ShPointer< S > &other) |
bool | operator== (const ShPointer &other) const |
Two references are equal if they point to the same object. | |
bool | operator!= (const ShPointer &other) const |
Two references are equal if they point to the same object. | |
bool | operator< (const ShPointer &other) const |
Actually compares the pointers. | |
T & | operator * () const |
T * | operator-> () const |
operator bool () const | |
Return true iff this is not a reference to a null pointer. | |
int | refCount () const |
Obtain the total amount of references to the referenced object. | |
T * | object () const |
Obtain a pointer to the object we reference count. | |
void | swap (ShPointer &other) |
Definition at line 116 of file ShRefCount.hpp.
|
Return true iff this is not a reference to a null pointer.
Definition at line 223 of file ShRefCountImpl.hpp. |