Main MRPT website > C++ reference
MRPT logo
List of all members | Public Types | Public Member Functions | Protected Attributes
stlplus::smart_ptr_clone< T, COUNTER > Class Template Reference

Detailed Description

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
class stlplus::smart_ptr_clone< T, COUNTER >

Definition at line 283 of file smart_ptr.hpp.

#include <mrpt/otherlibs/stlplus/smart_ptr.hpp>

Inheritance diagram for stlplus::smart_ptr_clone< T, COUNTER >:
Inheritance graph
[legend]

Public Types

typedef T value_type
 
typedef T & reference
 
typedef const T & const_reference
 
typedef C value_copy
 

Public Member Functions

 smart_ptr_clone (void)
 
 smart_ptr_clone (const T &data)
 
 smart_ptr_clone (T *data)
 
smart_ptr_clone< T > & operator= (const T &data)
 
smart_ptr_clone< T > & operator= (const smart_ptr_clone< T > &r)
 
 ~smart_ptr_clone (void)
 
 operator bool (void) const
 
bool operator! (void) const
 
bool present (void) const
 
bool null (void) const
 
T & operator* (void) throw (null_dereference)
 
const T & operator* (void) const throw (null_dereference)
 
T * operator-> (void) throw (null_dereference)
 
const T * operator-> (void) const throw (null_dereference)
 
void set_value (const T &data) throw (illegal_copy)
 
T & value (void) throw (null_dereference)
 
const T & value (void) const throw (null_dereference)
 
void set (T *data=0)
 
T * pointer (void)
 
const T * pointer (void) const
 
void alias (const smart_ptr_base< T, C, COUNTER > &)
 
bool aliases (const smart_ptr_base< T, C, COUNTER > &) const
 
unsigned alias_count (void) const
 
void clear (void)
 
void clear_unique (void)
 
void make_unique (void) throw (illegal_copy)
 
void copy (const smart_ptr_base< T, C, COUNTER > &) throw (illegal_copy)
 
void * handle (void) const
 
void make_alias (void *handle)
 

Protected Attributes

smart_ptr_holder< T, COUNTER > * m_holder
 

Member Typedef Documentation

template<typename T, typename C, typename COUNTER>
typedef const T& stlplus::smart_ptr_base< T, C, COUNTER >::const_reference
inherited

Definition at line 112 of file smart_ptr.hpp.

template<typename T, typename C, typename COUNTER>
typedef T& stlplus::smart_ptr_base< T, C, COUNTER >::reference
inherited

Definition at line 111 of file smart_ptr.hpp.

template<typename T, typename C, typename COUNTER>
typedef C stlplus::smart_ptr_base< T, C, COUNTER >::value_copy
inherited

Definition at line 113 of file smart_ptr.hpp.

template<typename T, typename C, typename COUNTER>
typedef T stlplus::smart_ptr_base< T, C, COUNTER >::value_type
inherited

Definition at line 110 of file smart_ptr.hpp.

Constructor & Destructor Documentation

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
stlplus::smart_ptr_clone< T, COUNTER >::smart_ptr_clone ( void  )
inline

Definition at line 286 of file smart_ptr.hpp.

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
stlplus::smart_ptr_clone< T, COUNTER >::smart_ptr_clone ( const T &  data)
inlineexplicit

Definition at line 287 of file smart_ptr.hpp.

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
stlplus::smart_ptr_clone< T, COUNTER >::smart_ptr_clone ( T *  data)
inlineexplicit

Definition at line 288 of file smart_ptr.hpp.

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
stlplus::smart_ptr_clone< T, COUNTER >::~smart_ptr_clone ( void  )
inline

Definition at line 291 of file smart_ptr.hpp.

Member Function Documentation

template<typename T, typename C, typename COUNTER>
void stlplus::smart_ptr_base< T, C, COUNTER >::alias ( const smart_ptr_base< T, C, COUNTER > &  r)
inlineinherited
template<typename T , typename C , typename COUNTER >
unsigned stlplus::smart_ptr_base< T, C, COUNTER >::alias_count ( void  ) const
inlineinherited

Definition at line 330 of file smart_ptr.tpp.

template<typename T, typename C, typename COUNTER>
bool stlplus::smart_ptr_base< T, C, COUNTER >::aliases ( const smart_ptr_base< T, C, COUNTER > &  r) const
inlineinherited

Definition at line 324 of file smart_ptr.tpp.

References stlplus::smart_ptr_base< T, C, COUNTER >::m_holder.

template<typename T , typename C , typename COUNTER >
void stlplus::smart_ptr_base< T, C, COUNTER >::clear ( void  )
inlineinherited

Definition at line 336 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
void stlplus::smart_ptr_base< T, C, COUNTER >::clear_unique ( void  )
inlineinherited

Definition at line 342 of file smart_ptr.tpp.

template<typename T, typename C, typename COUNTER>
void stlplus::smart_ptr_base< T, C, COUNTER >::copy ( const smart_ptr_base< T, C, COUNTER > &  data) throw (illegal_copy)
inherited

Definition at line 369 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
void * stlplus::smart_ptr_base< T, C, COUNTER >::handle ( void  ) const
inherited

Definition at line 379 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
void stlplus::smart_ptr_base< T, C, COUNTER >::make_alias ( void *  handle)
inherited
template<typename T , typename C , typename COUNTER >
void stlplus::smart_ptr_base< T, C, COUNTER >::make_unique ( void  ) throw (illegal_copy)
inlineinherited
template<typename T , typename C , typename COUNTER >
bool stlplus::smart_ptr_base< T, C, COUNTER >::null ( void  ) const
inlineinherited
template<typename T , typename C , typename COUNTER >
stlplus::smart_ptr_base< T, C, COUNTER >::operator bool ( void  ) const
inherited

Definition at line 229 of file smart_ptr.tpp.

References stlplus::smart_ptr_base< T, C, COUNTER >::null().

template<typename T , typename C , typename COUNTER >
bool stlplus::smart_ptr_base< T, C, COUNTER >::operator! ( void  ) const
inherited

Definition at line 223 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
T & stlplus::smart_ptr_base< T, C, COUNTER >::operator* ( void  ) throw (null_dereference)
inlineinherited

Definition at line 238 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
const T & stlplus::smart_ptr_base< T, C, COUNTER >::operator* ( void  ) const throw (null_dereference)
inlineinherited

Definition at line 245 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
T * stlplus::smart_ptr_base< T, C, COUNTER >::operator-> ( void  ) throw (null_dereference)
inlineinherited

Definition at line 252 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
const T * stlplus::smart_ptr_base< T, C, COUNTER >::operator-> ( void  ) const throw (null_dereference)
inlineinherited

Definition at line 259 of file smart_ptr.tpp.

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
smart_ptr_clone<T>& stlplus::smart_ptr_clone< T, COUNTER >::operator= ( const T &  data)
inline
template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
smart_ptr_clone<T>& stlplus::smart_ptr_clone< T, COUNTER >::operator= ( const smart_ptr_clone< T > &  r)
inline

Definition at line 290 of file smart_ptr.hpp.

References stlplus::smart_ptr_base< T, C, COUNTER >::alias().

template<typename T , typename C , typename COUNTER >
T * stlplus::smart_ptr_base< T, C, COUNTER >::pointer ( void  )
inlineinherited

Definition at line 295 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
const T * stlplus::smart_ptr_base< T, C, COUNTER >::pointer ( void  ) const
inlineinherited

Definition at line 301 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
bool stlplus::smart_ptr_base< T, C, COUNTER >::present ( void  ) const
inlineinherited

Definition at line 217 of file smart_ptr.tpp.

template<typename T, typename C , typename COUNTER >
void stlplus::smart_ptr_base< T, C, COUNTER >::set ( T *  data = 0)
inherited

Definition at line 289 of file smart_ptr.tpp.

template<typename T, typename C , typename COUNTER >
void stlplus::smart_ptr_base< T, C, COUNTER >::set_value ( const T &  data) throw (illegal_copy)
inlineinherited
template<typename T , typename C , typename COUNTER >
T & stlplus::smart_ptr_base< T, C, COUNTER >::value ( void  ) throw (null_dereference)
inlineinherited

Definition at line 275 of file smart_ptr.tpp.

template<typename T , typename C , typename COUNTER >
const T & stlplus::smart_ptr_base< T, C, COUNTER >::value ( void  ) const throw (null_dereference)
inlineinherited

Definition at line 282 of file smart_ptr.tpp.

Member Data Documentation

template<typename T, typename C, typename COUNTER>
smart_ptr_holder<T,COUNTER>* stlplus::smart_ptr_base< T, C, COUNTER >::m_holder
protectedinherited



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013