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

Detailed Description

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

Takes a const ref of a STL non-associative container of smart pointers at construction and exposes an interface mildly similar to that of another STL container containing only those elements in the original container that can be dynamic_casted to SELECTED_CLASS_PTR

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

#include <mrpt/maps/CMultiMetricMap.h>

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

Public Types

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

Public Member Functions

 ProxyFilterContainerByClass (CONTAINER &source)
 
 ProxyFilterContainerByClass (ProxyFilterContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &)
 
ProxyFilterContainerByClass< SELECTED_CLASS_PTR, CONTAINER > & operator= (const ProxyFilterContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &o)
 
bool empty () const
 
size_t size () const
 
SELECTED_CLASS_PTR operator[] (size_t index) const
 
template<typename ELEMENT >
void push_back (const ELEMENT &element)
 

Private Attributes

CONTAINER * m_source
 

Member Typedef Documentation

◆ const_ptr_t

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

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

◆ ptr_t

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

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

Constructor & Destructor Documentation

◆ ProxyFilterContainerByClass() [1/2]

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

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

◆ ProxyFilterContainerByClass() [2/2]

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

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

Member Function Documentation

◆ empty()

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

◆ operator=()

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

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

◆ operator[]()

template<class SELECTED_CLASS_PTR, class CONTAINER>
SELECTED_CLASS_PTR mrpt::maps::CMultiMetricMap::ProxyFilterContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator[] ( size_t  index) const
inline

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

◆ push_back()

template<class SELECTED_CLASS_PTR, class CONTAINER>
template<typename ELEMENT >
void mrpt::maps::CMultiMetricMap::ProxyFilterContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::push_back ( const ELEMENT &  element)
inline

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

◆ size()

template<class SELECTED_CLASS_PTR, class CONTAINER>
size_t mrpt::maps::CMultiMetricMap::ProxyFilterContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::size ( ) const
inline

Member Data Documentation

◆ m_source

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

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