Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > Struct Template Reference

Detailed Description

template<class SELECTED_CLASS_PTR, class CONTAINER>
struct mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >

A proxy like ProxyFilterContainerByClass, but it directly appears as if it was a single smart pointer (empty if no matching object is found in the container)

Definition at line 219 of file maps/CMultiMetricMap.h.

#include <mrpt/maps/CMultiMetricMap.h>

Inheritance diagram for mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >:
Inheritance graph

Public Types

typedef SELECTED_CLASS_PTR::value_type pointee_t
 
typedef SELECTED_CLASS_PTR::value_type * ptr_t
 
typedef const SELECTED_CLASS_PTR::value_type * const_ptr_t
 

Public Member Functions

 ProxySelectorContainerByClass (CONTAINER &source)
 
 ProxySelectorContainerByClass (ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &)
 
ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > & operator= (const ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &o)
 
 operator const SELECTED_CLASS_PTR & () const
 
 operator bool () const
 
bool present () const
 
ptr_t pointer ()
 
ptr_t operator-> () const
 
pointee_toperator* () const
 

Private Member Functions

void internal_update_ref () const
 

Private Attributes

CONTAINER * m_source
 
SELECTED_CLASS_PTR m_ret
 

Member Typedef Documentation

◆ const_ptr_t

template<class SELECTED_CLASS_PTR, class CONTAINER>
typedef const SELECTED_CLASS_PTR::value_type* mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::const_ptr_t

Definition at line 223 of file maps/CMultiMetricMap.h.

◆ pointee_t

template<class SELECTED_CLASS_PTR, class CONTAINER>
typedef SELECTED_CLASS_PTR::value_type mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::pointee_t

Definition at line 221 of file maps/CMultiMetricMap.h.

◆ ptr_t

template<class SELECTED_CLASS_PTR, class CONTAINER>
typedef SELECTED_CLASS_PTR::value_type* mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ptr_t

Definition at line 222 of file maps/CMultiMetricMap.h.

Constructor & Destructor Documentation

◆ ProxySelectorContainerByClass() [1/2]

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ProxySelectorContainerByClass ( CONTAINER &  source)
inline

Definition at line 224 of file maps/CMultiMetricMap.h.

◆ ProxySelectorContainerByClass() [2/2]

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ProxySelectorContainerByClass ( ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &  )
inline

Definition at line 225 of file maps/CMultiMetricMap.h.

Member Function Documentation

◆ internal_update_ref()

template<class SELECTED_CLASS_PTR, class CONTAINER>
void mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::internal_update_ref ( ) const
inlineprivate

Definition at line 249 of file maps/CMultiMetricMap.h.

◆ operator bool()

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator bool ( ) const
inline

Definition at line 233 of file maps/CMultiMetricMap.h.

◆ operator const SELECTED_CLASS_PTR &()

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator const SELECTED_CLASS_PTR & ( ) const
inline

Definition at line 232 of file maps/CMultiMetricMap.h.

◆ operator*()

template<class SELECTED_CLASS_PTR, class CONTAINER>
pointee_t& mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator* ( void  ) const
inline

Definition at line 241 of file maps/CMultiMetricMap.h.

◆ operator->()

template<class SELECTED_CLASS_PTR, class CONTAINER>
ptr_t mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator-> ( ) const
inline

Definition at line 236 of file maps/CMultiMetricMap.h.

◆ operator=()

template<class SELECTED_CLASS_PTR, class CONTAINER>
ProxySelectorContainerByClass<SELECTED_CLASS_PTR, CONTAINER>& mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator= ( const ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &  o)
inline

Definition at line 226 of file maps/CMultiMetricMap.h.

◆ pointer()

template<class SELECTED_CLASS_PTR, class CONTAINER>
ptr_t mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::pointer ( )
inline

Definition at line 235 of file maps/CMultiMetricMap.h.

◆ present()

template<class SELECTED_CLASS_PTR, class CONTAINER>
bool mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::present ( ) const
inline

Definition at line 234 of file maps/CMultiMetricMap.h.

Member Data Documentation

◆ m_ret

template<class SELECTED_CLASS_PTR, class CONTAINER>
SELECTED_CLASS_PTR mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::m_ret
mutableprivate

Definition at line 248 of file maps/CMultiMetricMap.h.

◆ m_source

template<class SELECTED_CLASS_PTR, class CONTAINER>
CONTAINER* mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::m_source
private

Definition at line 247 of file maps/CMultiMetricMap.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019