#include <ShRefCount.hpp>
Inheritance diagram for SH::ShPointer< T >:

Public Types | |
| typedef T *(ShPointer< T >::* | unspecified_bool_type )() const |
Public Member Functions | |
| ShPointer () | |
| ShPointer (T *object) | |
| ShPointer (const ShPointer &other) | |
| template<typename S> | |
| ShPointer (const ShPointer< S > &other) | |
| ~ShPointer () | |
| 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 unspecified_bool_type () 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 109 of file ShRefCount.hpp.
1.4.3-20050530