|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
#include <smartptr.h>

Public Member Functions | |
| SmartPtr () | |
| SmartPtr (T *pObj) | |
| template<class U > | |
| SmartPtr (const SmartPtr< U > &ptr) | |
| SmartPtr (const SmartPtr &ptr) | |
| ~SmartPtr () | |
| operator T* () const | |
| T & | operator* () |
| T * | operator-> () const |
| template<class U > | |
| SmartPtr & | operator= (const SmartPtr< U > &ptr) |
| SmartPtr & | operator= (const SmartPtr &ptr) |
| SmartPtr & | operator= (T *pObj) |
| bool | operator== (const SmartPtr &ptr) const |
| bool | operator== (T *pObj) const |
| bool | operator!= (const SmartPtr &ptr) const |
| bool | operator!= (T *pObj) const |
| bool | operator> (const SmartPtr &ptr) const |
| bool | operator> (T *pObj) const |
| bool | operator< (const SmartPtr &ptr) const |
| bool | operator< (T *pObj) const |
| T * | getRealPointer () |
| const T * | getRealPointer () const |
Public Attributes | |
| T * | _pObj |
| The real pointer, must derived IRefCount. More... | |
This is the smart pointer template. It assumes that the referenced object supports a reference count interface via IRefCount.
Definition at line 105 of file smartptr.h.
Definition at line 108 of file smartptr.h.
Definition at line 112 of file smartptr.h.
Copy constructor from an inherited type of T.
Definition at line 123 of file smartptr.h.
Copy constructor.
Definition at line 134 of file smartptr.h.
Definition at line 143 of file smartptr.h.
|
inline |
Gets the real pointer.
Definition at line 291 of file smartptr.h.

|
inline |
|
inline |
Cast operator.
Definition at line 157 of file smartptr.h.
Equality operator with a smart pointer.
Definition at line 244 of file smartptr.h.
|
inline |
Equality operator with a real pointer.
Definition at line 252 of file smartptr.h.
|
inline |
Definition at line 161 of file smartptr.h.
|
inline |
Pointer operator.
Definition at line 169 of file smartptr.h.
Comparaison operator with a smart pointer.
Definition at line 275 of file smartptr.h.
|
inline |
Comparaison operator with a real pointer.
Definition at line 282 of file smartptr.h.
Copy operator from a smart pointer.
Definition at line 200 of file smartptr.h.
|
inline |
Copy operator from a derived type smart pointer.
Definition at line 177 of file smartptr.h.
Copy operator from a real pointer.
Definition at line 209 of file smartptr.h.
Equality operator with a smart pointer.
Definition at line 228 of file smartptr.h.
|
inline |
Equality operator with a real pointer.
Definition at line 236 of file smartptr.h.
Comparaison operator with a smart pointer.
Definition at line 260 of file smartptr.h.
|
inline |
Comparaison operator with a real pointer.
Definition at line 267 of file smartptr.h.
| T* SmartPtr< T >::_pObj |
The real pointer, must derived IRefCount.
Definition at line 307 of file smartptr.h.