Main MRPT website > C++ reference
MRPT logo
Public Member Functions

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.

Definition at line 46 of file list_searchable.h.

#include <mrpt/utils/list_searchable.h>

Inheritance diagram for mrpt::utils::list_searchable< T >:
Inheritance graph
[legend]

List of all members.

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".
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".

Member Function Documentation

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

Definition at line 51 of file list_searchable.h.

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

Definition at line 55 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 61 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 71 of file list_searchable.h.

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

Definition at line 49 of file list_searchable.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011