Version: 8.3.0
SALOMESDS::AutoServantPtr< T > Class Template Reference

#include <SALOMESDS_AutoRefCountPtr.hxx>

Public Member Functions

 AutoServantPtr (T *ptr=0)
 
 ~AutoServantPtr ()
 
bool operator== (const AutoServantPtr &other) const
 
bool operator== (const T *other) const
 
AutoServantPtroperator= (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
 

Constructor & Destructor Documentation

template<class T >
SALOMESDS::AutoServantPtr< T >::AutoServantPtr ( T *  ptr = 0)

Member Function Documentation

template<class T >
SALOMESDS::AutoServantPtr< T >::operator const T * ( ) const
template<class T >
SALOMESDS::AutoServantPtr< T >::operator T * ( )
template<class T >
T& SALOMESDS::AutoServantPtr< T >::operator* ( )
template<class T >
const T& SALOMESDS::AutoServantPtr< T >::operator* ( ) const
template<class T >
T* SALOMESDS::AutoServantPtr< T >::operator-> ( )
template<class T >
const T* SALOMESDS::AutoServantPtr< T >::operator-> ( ) const
template<class T >
bool SALOMESDS::AutoServantPtr< T >::operator== ( const AutoServantPtr< T > &  other) const
template<class T >
bool SALOMESDS::AutoServantPtr< T >::operator== ( const T *  other) const

Field Documentation