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

Detailed Description

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

Definition at line 298 of file smart_ptr.hpp.

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

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

List of all members.

Public Types

typedef T value_type
typedef T & reference
typedef const T & const_reference
typedef no_copy< T > value_copy

Public Member Functions

 smart_ptr_nocopy (void)
 smart_ptr_nocopy (const T &data)
 smart_ptr_nocopy (T *data)
smart_ptr_nocopy< T > & operator= (const T &data)
smart_ptr_nocopy< T > & operator= (const smart_ptr_nocopy< T > &r)
 ~smart_ptr_nocopy (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, no_copy< T >, COUNTER > &)
bool aliases (const smart_ptr_base< T, no_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, no_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

typedef const T& stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::const_reference [inherited]

Definition at line 112 of file smart_ptr.hpp.

typedef T& stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::reference [inherited]

Definition at line 111 of file smart_ptr.hpp.

typedef no_copy< T > stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::value_copy [inherited]

Definition at line 113 of file smart_ptr.hpp.

typedef T stlplus::smart_ptr_base< T, no_copy< T > , 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_nocopy< T, COUNTER >::smart_ptr_nocopy ( void  ) [inline]

Definition at line 301 of file smart_ptr.hpp.

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
stlplus::smart_ptr_nocopy< T, COUNTER >::smart_ptr_nocopy ( const T &  data) [inline, explicit]

Definition at line 302 of file smart_ptr.hpp.

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
stlplus::smart_ptr_nocopy< T, COUNTER >::smart_ptr_nocopy ( T *  data) [inline, explicit]

Definition at line 303 of file smart_ptr.hpp.

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

Definition at line 306 of file smart_ptr.hpp.


Member Function Documentation

void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::alias ( const smart_ptr_base< T, no_copy< T > , COUNTER > &  ) [inline, inherited]
unsigned stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::alias_count ( void  ) const [inline, inherited]
bool stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::aliases ( const smart_ptr_base< T, no_copy< T > , COUNTER > &  ) const [inline, inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::clear ( void  ) [inline, inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::clear_unique ( void  ) [inline, inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::copy ( const smart_ptr_base< T, no_copy< T > , COUNTER > &  ) throw (illegal_copy) [inherited]
void* stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::handle ( void  ) const [inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::make_alias ( void *  handle) [inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::make_unique ( void  ) throw (illegal_copy) [inline, inherited]
bool stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::null ( void  ) const [inherited]
stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::operator bool ( void  ) const [inherited]
bool stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::operator! ( void  ) const [inherited]
const T& stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::operator* ( void  ) const throw (null_dereference) [inherited]
T& stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::operator* ( void  ) throw (null_dereference) [inherited]
T* stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::operator-> ( void  ) throw (null_dereference) [inherited]
const T* stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::operator-> ( void  ) const throw (null_dereference) [inherited]
template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
smart_ptr_nocopy<T>& stlplus::smart_ptr_nocopy< T, COUNTER >::operator= ( const smart_ptr_nocopy< T > &  r) [inline]

Definition at line 305 of file smart_ptr.hpp.

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

template<typename T, typename COUNTER = mrpt::synch::CAtomicCounter>
smart_ptr_nocopy<T>& stlplus::smart_ptr_nocopy< T, COUNTER >::operator= ( const T &  data) [inline]
T* stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::pointer ( void  ) [inherited]
const T* stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::pointer ( void  ) const [inherited]
bool stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::present ( void  ) const [inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::set ( T *  data = 0) [inherited]
void stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::set_value ( const T &  data) throw (illegal_copy) [inherited]
const T& stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::value ( void  ) const throw (null_dereference) [inherited]
T& stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::value ( void  ) throw (null_dereference) [inherited]

Member Data Documentation

smart_ptr_holder<T,COUNTER>* stlplus::smart_ptr_base< T, no_copy< T > , COUNTER >::m_holder [protected, inherited]

Definition at line 215 of file smart_ptr.hpp.




Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 Hosted on:
SourceForge.net Logo