Main MRPT website > C++ reference
MRPT logo

stlplus::smart_ptr_holder< T > Class Template Reference

Collaboration diagram for stlplus::smart_ptr_holder< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 smart_ptr_holder (T *p=0)
 ~smart_ptr_holder (void)
unsigned long 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

mrpt::synch::CAtomicCounter m_count
T * m_data

Detailed Description

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

Definition at line 76 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 83 of file smart_ptr.tpp.

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

Definition at line 94 of file smart_ptr.tpp.

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

Definition at line 99 of file smart_ptr.tpp.


Member Function Documentation

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

Definition at line 104 of file smart_ptr.tpp.

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

Definition at line 114 of file smart_ptr.tpp.

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

Definition at line 109 of file smart_ptr.tpp.

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

Definition at line 119 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 88 of file smart_ptr.tpp.

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

Definition at line 142 of file smart_ptr.tpp.

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

Definition at line 137 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 131 of file smart_ptr.tpp.

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

Definition at line 152 of file smart_ptr.tpp.

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

Definition at line 147 of file smart_ptr.tpp.

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


Member Data Documentation

template<typename T>
mrpt::synch::CAtomicCounter stlplus::smart_ptr_holder< T >::m_count [private]
template<typename T>
T* stlplus::smart_ptr_holder< T >::m_data [private]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010