MRPT logo

stlplus::smart_ptr_holder< T > Class Template Reference

List of all members.

Public Member Functions

 smart_ptr_holder (T *p=0)
 ~smart_ptr_holder (void)
unsigned count (void) const
void increment (void)
bool decrement (void)
bool null (void)
void clear (void)
void set (T *p=0)
T *& pointer (void)
const T * pointer (void) const
T & value (void)
const T & value (void) const

Private Member Functions

 smart_ptr_holder (const smart_ptr_holder &s)
smart_ptr_holderoperator= (const smart_ptr_holder &s)

Private Attributes

unsigned m_count
T * m_data


Detailed Description

template<typename T>
class stlplus::smart_ptr_holder< T >

Definition at line 63 of file smart_ptr.tpp.


Constructor & Destructor Documentation

template<typename T>
stlplus::smart_ptr_holder< T >::smart_ptr_holder ( const smart_ptr_holder< T > &  s  )  [inline, private]

Definition at line 70 of file smart_ptr.tpp.

template<typename T>
stlplus::smart_ptr_holder< T >::smart_ptr_holder ( T *  p = 0  )  [inline]

Definition at line 81 of file smart_ptr.tpp.

template<typename T>
stlplus::smart_ptr_holder< T >::~smart_ptr_holder ( void   )  [inline]

Definition at line 86 of file smart_ptr.tpp.


Member Function Documentation

template<typename T>
void stlplus::smart_ptr_holder< T >::clear ( void   )  [inline]

template<typename T>
unsigned stlplus::smart_ptr_holder< T >::count ( void   )  const [inline]

Definition at line 91 of file smart_ptr.tpp.

template<typename T>
bool stlplus::smart_ptr_holder< T >::decrement ( void   )  [inline]

Definition at line 101 of file smart_ptr.tpp.

template<typename T>
void stlplus::smart_ptr_holder< T >::increment ( void   )  [inline]

Definition at line 96 of file smart_ptr.tpp.

template<typename T>
bool stlplus::smart_ptr_holder< T >::null ( void   )  [inline]

Definition at line 107 of file smart_ptr.tpp.

template<typename T>
smart_ptr_holder& stlplus::smart_ptr_holder< T >::operator= ( const smart_ptr_holder< T > &  s  )  [inline, private]

Definition at line 75 of file smart_ptr.tpp.

template<typename T>
const T* stlplus::smart_ptr_holder< T >::pointer ( void   )  const [inline]

Definition at line 130 of file smart_ptr.tpp.

template<typename T>
T*& stlplus::smart_ptr_holder< T >::pointer ( void   )  [inline]

Definition at line 125 of file smart_ptr.tpp.

Referenced by stlplus::smart_ptr_base< T, C >::make_unique().

template<typename T>
void stlplus::smart_ptr_holder< T >::set ( T *  p = 0  )  [inline]

Definition at line 119 of file smart_ptr.tpp.

template<typename T>
const T& stlplus::smart_ptr_holder< T >::value ( void   )  const [inline]

Definition at line 140 of file smart_ptr.tpp.

template<typename T>
T& stlplus::smart_ptr_holder< T >::value ( void   )  [inline]

Definition at line 135 of file smart_ptr.tpp.

Referenced by stlplus::smart_ptr_base< T, C >::make_unique().


Member Data Documentation

template<typename T>
unsigned stlplus::smart_ptr_holder< T >::m_count [private]

template<typename T>
T* stlplus::smart_ptr_holder< T >::m_data [private]




Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:14:51 EST 2009