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

Detailed Description

template<typename T, typename COUNTER>
class mrpt::stlplus::smart_ptr_holder< T, COUNTER >

Definition at line 60 of file CColouredPointsMap.h.

#include <mrpt/slam/CColouredPointsMap.h>

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

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

COUNTER m_count
 
T * m_data
 

Constructor & Destructor Documentation

◆ smart_ptr_holder() [1/2]

template<typename T, typename COUNTER>
mrpt::stlplus::smart_ptr_holder< T, COUNTER >::smart_ptr_holder ( const smart_ptr_holder< T, COUNTER > &  s)
inlineprivate

Definition at line 84 of file CColouredPointsMap.h.

◆ smart_ptr_holder() [2/2]

template<typename T, typename COUNTER>
mrpt::stlplus::smart_ptr_holder< T, COUNTER >::smart_ptr_holder ( T *  p = 0)
inline

Definition at line 95 of file CColouredPointsMap.h.

◆ ~smart_ptr_holder()

template<typename T, typename COUNTER>
mrpt::stlplus::smart_ptr_holder< T, COUNTER >::~smart_ptr_holder ( void  )
inline

Definition at line 100 of file CColouredPointsMap.h.

Member Function Documentation

◆ clear()

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

Definition at line 125 of file CColouredPointsMap.h.

◆ count()

template<typename T, typename COUNTER>
unsigned long mrpt::stlplus::smart_ptr_holder< T, COUNTER >::count ( void  ) const
inline

Definition at line 105 of file CColouredPointsMap.h.

◆ decrement()

template<typename T, typename COUNTER>
bool mrpt::stlplus::smart_ptr_holder< T, COUNTER >::decrement ( void  )
inline

Definition at line 115 of file CColouredPointsMap.h.

◆ increment()

template<typename T, typename COUNTER>
void mrpt::stlplus::smart_ptr_holder< T, COUNTER >::increment ( void  )
inline

Definition at line 110 of file CColouredPointsMap.h.

◆ null()

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

Definition at line 120 of file CColouredPointsMap.h.

◆ operator=()

template<typename T, typename COUNTER>
smart_ptr_holder& mrpt::stlplus::smart_ptr_holder< T, COUNTER >::operator= ( const smart_ptr_holder< T, COUNTER > &  s)
inlineprivate

Definition at line 89 of file CColouredPointsMap.h.

◆ pointer() [1/2]

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

Definition at line 138 of file CColouredPointsMap.h.

◆ pointer() [2/2]

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

Definition at line 143 of file CColouredPointsMap.h.

◆ set()

template<typename T, typename COUNTER>
void mrpt::stlplus::smart_ptr_holder< T, COUNTER >::set ( T *  p = 0)
inline

Definition at line 132 of file CColouredPointsMap.h.

◆ value() [1/2]

template<typename T, typename COUNTER>
T& mrpt::stlplus::smart_ptr_holder< T, COUNTER >::value ( void  )
inline

Definition at line 148 of file CColouredPointsMap.h.

◆ value() [2/2]

template<typename T, typename COUNTER>
const T& mrpt::stlplus::smart_ptr_holder< T, COUNTER >::value ( void  ) const
inline

Definition at line 153 of file CColouredPointsMap.h.

Member Data Documentation

◆ m_count

template<typename T, typename COUNTER>
COUNTER mrpt::stlplus::smart_ptr_holder< T, COUNTER >::m_count
private

Definition at line 80 of file CColouredPointsMap.h.

◆ m_data

template<typename T, typename COUNTER>
T* mrpt::stlplus::smart_ptr_holder< T, COUNTER >::m_data
private

Definition at line 81 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