Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Member Functions | Public Attributes
mrpt::utils::list_searchable< T > Class Template Reference

Detailed Description

template<class T>
class mrpt::utils::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/utils/list_searchable.h>

Definition at line 27 of file list_searchable.h.

#include <mrpt/utils/list_searchable.h>

Inheritance diagram for mrpt::utils::list_searchable< T >:
Inheritance graph

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

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

Definition at line 36 of file list_searchable.h.

template<class T>
template<typename PTR >
std::list<T>::iterator mrpt::utils::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 42 of file list_searchable.h.

template<class T>
template<typename PTR >
std::list<T>::const_iterator mrpt::utils::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 52 of file list_searchable.h.

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

Member Data Documentation

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

STL member.




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018