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

#include <SALOMESDS_AutoRefCountPtr.hxx>

Public Member Functions

 AutoRefCountPtr (const AutoRefCountPtr &other)
 
 AutoRefCountPtr (T *ptr=0)
 
 ~AutoRefCountPtr ()
 
bool operator== (const AutoRefCountPtr &other) const
 
bool operator== (const T *other) const
 
AutoRefCountPtroperator= (const AutoRefCountPtr &other)
 
AutoRefCountPtroperator= (T *ptr)
 
T * operator-> ()
 
const T * operator-> () const
 
T & operator* ()
 
const T & operator* () const
 
 operator T * ()
 
 operator const T * () const
 
T * retn ()
 

Private Member Functions

void referPtr (T *ptr)
 
void destroyPtr ()
 

Private Attributes

T * _ptr
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Field Documentation