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

Detailed Description

template<typename T, typename C, typename COUNTER>
class mrpt::stlplus::smart_ptr_base< T, C, COUNTER >

Definition at line 67 of file CColouredPointsMap.h.

#include <mrpt/slam/CColouredPointsMap.h>

Inheritance diagram for mrpt::stlplus::smart_ptr_base< T, C, 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_base (void)
 
 smart_ptr_base (const T &data) throw (illegal_copy)
 
 smart_ptr_base (T *data)
 
 smart_ptr_base (const smart_ptr_base< T, C, COUNTER > &r)
 
 ~smart_ptr_base (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

◆ const_reference

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

Definition at line 75 of file CColouredPointsMap.h.

◆ reference

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

Definition at line 74 of file CColouredPointsMap.h.

◆ value_copy

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

Definition at line 76 of file CColouredPointsMap.h.

◆ value_type

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

Definition at line 73 of file CColouredPointsMap.h.

Constructor & Destructor Documentation

◆ smart_ptr_base() [1/4]

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

Definition at line 168 of file CColouredPointsMap.h.

◆ smart_ptr_base() [2/4]

template<typename T, typename C , typename COUNTER >
mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::smart_ptr_base ( const T &  data)
throw (illegal_copy
)
explicit

Definition at line 175 of file CColouredPointsMap.h.

◆ smart_ptr_base() [3/4]

template<typename T, typename C , typename COUNTER >
mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::smart_ptr_base ( T *  data)
explicit

Definition at line 185 of file CColouredPointsMap.h.

◆ smart_ptr_base() [4/4]

template<typename T, typename C, typename COUNTER>
mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::smart_ptr_base ( const smart_ptr_base< T, C, COUNTER > &  r)
explicit

Definition at line 193 of file CColouredPointsMap.h.

◆ ~smart_ptr_base()

template<typename T , typename C , typename COUNTER >
mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::~smart_ptr_base ( void  )

Definition at line 202 of file CColouredPointsMap.h.

Member Function Documentation

◆ alias()

template<typename T, typename C, typename COUNTER>
void mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::alias ( const smart_ptr_base< T, C, COUNTER > &  r)
inline

Definition at line 312 of file CColouredPointsMap.h.

◆ alias_count()

template<typename T , typename C , typename COUNTER >
unsigned mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::alias_count ( void  ) const
inline

Definition at line 331 of file CColouredPointsMap.h.

◆ aliases()

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

Definition at line 325 of file CColouredPointsMap.h.

◆ clear()

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

Definition at line 337 of file CColouredPointsMap.h.

◆ clear_unique()

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

◆ copy()

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

Definition at line 370 of file CColouredPointsMap.h.

◆ handle()

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

Definition at line 380 of file CColouredPointsMap.h.

◆ make_alias()

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

Definition at line 386 of file CColouredPointsMap.h.

◆ make_unique()

template<typename T , typename C , typename COUNTER >
void mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::make_unique ( void  )
throw (illegal_copy
)
inline

◆ null()

template<typename T , typename C , typename COUNTER >
bool mrpt::stlplus::smart_ptr_base< T, C, COUNTER >::null ( void  ) const
inline

Definition at line 212 of file CColouredPointsMap.h.

◆ operator bool()

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

Definition at line 230 of file CColouredPointsMap.h.

◆ operator!()

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

Definition at line 224 of file CColouredPointsMap.h.

◆ operator*() [1/2]

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

Definition at line 239 of file CColouredPointsMap.h.

◆ operator*() [2/2]

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

Definition at line 246 of file CColouredPointsMap.h.

◆ operator->() [1/2]

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

Definition at line 253 of file CColouredPointsMap.h.

◆ operator->() [2/2]

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

Definition at line 260 of file CColouredPointsMap.h.

◆ pointer() [1/2]

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

Definition at line 296 of file CColouredPointsMap.h.

◆ pointer() [2/2]

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

Definition at line 302 of file CColouredPointsMap.h.

◆ present()

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

◆ set()

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

Definition at line 290 of file CColouredPointsMap.h.

◆ set_value()

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

Definition at line 270 of file CColouredPointsMap.h.

◆ value() [1/2]

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

Definition at line 276 of file CColouredPointsMap.h.

◆ value() [2/2]

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

Definition at line 283 of file CColouredPointsMap.h.

Member Data Documentation

◆ m_holder

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

Definition at line 178 of file CColouredPointsMap.h.




Page generated by Doxygen 1.8.14 for MRPT 1.1.0 SVN: at lun oct 28 00:54:49 CET 2019 Hosted on:
SourceForge.net Logo