This is Unofficial EPICS BASE Doxygen Site
boost::exception_detail::refcount_ptr< T > Class Template Reference

#include "exception.hpp"

Public Member Functions

 refcount_ptr ()
 
 ~refcount_ptr ()
 
 refcount_ptr (refcount_ptr const &x)
 
refcount_ptroperator= (refcount_ptr const &x)
 
void adopt (T *px)
 
T * get () const
 

Detailed Description

template<class T>
class boost::exception_detail::refcount_ptr< T >

Definition at line 22 of file exception.hpp.

Constructor & Destructor Documentation

template<class T>
boost::exception_detail::refcount_ptr< T >::refcount_ptr ( )
inline

Definition at line 27 of file exception.hpp.

27  :
28  px_(0)
29  {
30  }
template<class T>
boost::exception_detail::refcount_ptr< T >::~refcount_ptr ( )
inline

Definition at line 32 of file exception.hpp.

33  {
34  release();
35  }
template<class T>
boost::exception_detail::refcount_ptr< T >::refcount_ptr ( refcount_ptr< T > const &  x)
inline

Definition at line 37 of file exception.hpp.

37  :
38  px_(x.px_)
39  {
40  add_ref();
41  }

Member Function Documentation

template<class T>
void boost::exception_detail::refcount_ptr< T >::adopt ( T *  px)
inline

Definition at line 51 of file exception.hpp.

52  {
53  release();
54  px_=px;
55  add_ref();
56  }
template<class T>
T* boost::exception_detail::refcount_ptr< T >::get ( ) const
inline

Definition at line 59 of file exception.hpp.

60  {
61  return px_;
62  }
template<class T>
refcount_ptr& boost::exception_detail::refcount_ptr< T >::operator= ( refcount_ptr< T > const &  x)
inline

Definition at line 44 of file exception.hpp.

45  {
46  adopt(x.px_);
47  return *this;
48  }

The documentation for this class was generated from the following file: