Main MRPT website > C++ reference for MRPT 1.3.2
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 243 of file smart_ptr.hpp.

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

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

Public Types

typedef T value_type
 
typedef T & reference
 
typedef const T & const_reference
 
typedef clone_copy< T > 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, clone_copy< T >, COUNTER > &)
 
bool aliases (const smart_ptr_base< T, clone_copy< T >, 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, clone_copy< T >, 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

§ const_reference

typedef const T& stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::const_reference
inherited

Definition at line 72 of file smart_ptr.hpp.

§ reference

typedef T& stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::reference
inherited

Definition at line 71 of file smart_ptr.hpp.

§ value_copy

typedef clone_copy< T > stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::value_copy
inherited

Definition at line 73 of file smart_ptr.hpp.

§ value_type

typedef T stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::value_type
inherited

Definition at line 70 of file smart_ptr.hpp.

Constructor & Destructor Documentation

§ smart_ptr_clone() [1/3]

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

Definition at line 246 of file smart_ptr.hpp.

§ smart_ptr_clone() [2/3]

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

Definition at line 247 of file smart_ptr.hpp.

§ smart_ptr_clone() [3/3]

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

Definition at line 248 of file smart_ptr.hpp.

§ ~smart_ptr_clone()

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

Definition at line 251 of file smart_ptr.hpp.

Member Function Documentation

§ alias()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::alias ( const smart_ptr_base< T, clone_copy< T > , COUNTER > &  )
inlineinherited

§ alias_count()

unsigned stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::alias_count ( void  ) const
inlineinherited

§ aliases()

bool stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::aliases ( const smart_ptr_base< T, clone_copy< T > , COUNTER > &  ) const
inlineinherited

§ clear()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::clear ( void  )
inlineinherited

§ clear_unique()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::clear_unique ( void  )
inlineinherited

§ copy()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::copy ( const smart_ptr_base< T, clone_copy< T > , COUNTER > &  )
throw (illegal_copy
)
inherited

§ handle()

void* stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::handle ( void  ) const
inherited

§ make_alias()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::make_alias ( void *  handle)
inherited

§ make_unique()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::make_unique ( void  )
throw (illegal_copy
)
inlineinherited

§ null()

bool stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::null ( void  ) const
inherited

§ operator bool()

stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::operator bool ( void  ) const
inherited

§ operator!()

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

§ operator*() [1/2]

T& stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::operator* ( void  )
throw (null_dereference
)
inherited

§ operator*() [2/2]

const T& stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::operator* ( void  ) const
throw (null_dereference
)
inherited

§ operator->() [1/2]

T* stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::operator-> ( void  )
throw (null_dereference
)
inherited

§ operator->() [2/2]

const T* stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::operator-> ( void  ) const
throw (null_dereference
)
inherited

§ operator=() [1/2]

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

Definition at line 249 of file smart_ptr.hpp.

§ operator=() [2/2]

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 250 of file smart_ptr.hpp.

§ pointer() [1/2]

T* stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::pointer ( void  )
inherited

§ pointer() [2/2]

const T* stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::pointer ( void  ) const
inherited

§ present()

bool stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::present ( void  ) const
inherited

§ set()

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

§ set_value()

void stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::set_value ( const T &  data)
throw (illegal_copy
)
inherited

§ value() [1/2]

T& stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::value ( void  )
throw (null_dereference
)
inherited

§ value() [2/2]

const T& stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::value ( void  ) const
throw (null_dereference
)
inherited

Member Data Documentation

§ m_holder

smart_ptr_holder<T,COUNTER>* stlplus::smart_ptr_base< T, clone_copy< T > , COUNTER >::m_holder
protectedinherited

Definition at line 175 of file smart_ptr.hpp.




Page generated by Doxygen 1.8.12 for MRPT 1.3.2 SVN: at Thu Nov 10 13:22:34 UTC 2016