#include <SALOMESDS_AutoRefCountPtr.hxx>
Public Member Functions | |
AutoServantPtr (T *ptr=0) | |
~AutoServantPtr () | |
bool | operator== (const AutoServantPtr &other) const |
bool | operator== (const T *other) const |
AutoServantPtr & | operator= (T *ptr) |
T * | operator-> () |
const T * | operator-> () const |
T & | operator* () |
const T & | operator* () const |
operator T * () | |
operator const T * () const | |
Private Member Functions | |
void | destroyPtr () |
Private Attributes | |
T * | _ptr |
SALOMESDS::AutoServantPtr< T >::AutoServantPtr | ( | T * | ptr = 0 | ) |
SALOMESDS::AutoServantPtr< T >::~AutoServantPtr | ( | ) |
References SALOMESDS::AutoServantPtr< T >::destroyPtr().
|
private |
References SALOMESDS::AutoServantPtr< T >::_ptr.
Referenced by SALOMESDS::AutoServantPtr< T >::operator=(), and SALOMESDS::AutoServantPtr< T >::~AutoServantPtr().
SALOMESDS::AutoServantPtr< T >::operator const T * | ( | ) | const |
References SALOMESDS::AutoServantPtr< T >::_ptr.
SALOMESDS::AutoServantPtr< T >::operator T * | ( | ) |
References SALOMESDS::AutoServantPtr< T >::_ptr.
T& SALOMESDS::AutoServantPtr< T >::operator* | ( | ) |
References SALOMESDS::AutoServantPtr< T >::_ptr.
const T& SALOMESDS::AutoServantPtr< T >::operator* | ( | ) | const |
References SALOMESDS::AutoServantPtr< T >::_ptr.
T* SALOMESDS::AutoServantPtr< T >::operator-> | ( | ) |
References SALOMESDS::AutoServantPtr< T >::_ptr.
const T* SALOMESDS::AutoServantPtr< T >::operator-> | ( | ) | const |
References SALOMESDS::AutoServantPtr< T >::_ptr.
AutoServantPtr& SALOMESDS::AutoServantPtr< T >::operator= | ( | T * | ptr | ) |
bool SALOMESDS::AutoServantPtr< T >::operator== | ( | const AutoServantPtr< T > & | other | ) | const |
References SALOMESDS::AutoServantPtr< T >::_ptr.
bool SALOMESDS::AutoServantPtr< T >::operator== | ( | const T * | other | ) | const |
References SALOMESDS::AutoServantPtr< T >::_ptr.
|
private |
Referenced by SALOMESDS::AutoServantPtr< T >::destroyPtr(), SALOMESDS::AutoServantPtr< T >::operator const T *(), SALOMESDS::AutoServantPtr< T >::operator T *(), SALOMESDS::AutoServantPtr< T >::operator*(), SALOMESDS::AutoServantPtr< T >::operator->(), SALOMESDS::AutoServantPtr< T >::operator=(), and SALOMESDS::AutoServantPtr< T >::operator==().