MRPT  2.0.1
List of all members | Public Member Functions | Public Attributes
mrpt::containers::list_searchable< T > Class Template Reference

Detailed Description

template<class T>
class mrpt::containers::list_searchable< T >

This class implements a STL container with features of both, a std::set and a std::list.

Note
Defined in #include <mrpt/containers/list_searchable.h>

Definition at line 22 of file list_searchable.h.

#include <mrpt/containers/list_searchable.h>

Inheritance diagram for mrpt::containers::list_searchable< T >:

Public Member Functions

void insert (const T &o)
 
std::list< T >::iterator find (const T &i)
 
std::list< T >::const_iterator find (const T &i) const
 
template<typename PTR >
std::list< T >::iterator find_ptr_to (const PTR ptr)
 Finds an element in a list of smart pointers, having "->pointer()", such as it matches a given plain pointer "ptr". More...
 
template<typename PTR >
std::list< T >::const_iterator find_ptr_to (const PTR ptr) const
 Finds an element in a list of smart pointers, having "->pointer()", such as it matches a given plain pointer "ptr". More...
 

Public Attributes

elements
 STL member. More...
 

Member Function Documentation

◆ find() [1/2]

template<class T>
std::list<T>::iterator mrpt::containers::list_searchable< T >::find ( const T &  i)
inline

Definition at line 26 of file list_searchable.h.

Referenced by mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), and mrpt::hmtslam::CLocalMetricHypothesis::removeAreaFromLMH().

Here is the caller graph for this function:

◆ find() [2/2]

template<class T>
std::list<T>::const_iterator mrpt::containers::list_searchable< T >::find ( const T &  i) const
inline

Definition at line 31 of file list_searchable.h.

◆ find_ptr_to() [1/2]

template<class T>
template<typename PTR >
std::list<T>::iterator mrpt::containers::list_searchable< T >::find_ptr_to ( const PTR  ptr)
inline

Finds an element in a list of smart pointers, having "->pointer()", such as it matches a given plain pointer "ptr".

Definition at line 39 of file list_searchable.h.

◆ find_ptr_to() [2/2]

template<class T>
template<typename PTR >
std::list<T>::const_iterator mrpt::containers::list_searchable< T >::find_ptr_to ( const PTR  ptr) const
inline

Finds an element in a list of smart pointers, having "->pointer()", such as it matches a given plain pointer "ptr".

Definition at line 49 of file list_searchable.h.

◆ insert()

template<class T>
void mrpt::containers::list_searchable< T >::insert ( const T &  o)
inline

Definition at line 25 of file list_searchable.h.

Referenced by mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), mrpt::hmtslam::CLocalMetricHypothesis::removeAreaFromLMH(), and mrpt::hmtslam::CLocalMetricHypothesis::updateAreaFromLMH().

Here is the caller graph for this function:

Member Data Documentation

◆ elements

T std::list< T >::elements
inherited

STL member.




Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020