MRPT logo

mrpt::utils::list_searchable< T > Class Template Reference

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

#include <mrpt/utils/stl_extensions.h>

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

List of all members.

Public Member Functions

virtual ~list_searchable ()
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()", pointing to a given element.
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()", pointing to a given element.

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 185 of file stl_extensions.h.


Constructor & Destructor Documentation

template<class T >
virtual mrpt::utils::list_searchable< T >::~list_searchable (  )  [inline, virtual]

Definition at line 188 of file stl_extensions.h.


Member Function Documentation

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

Definition at line 196 of file stl_extensions.h.

References mrpt::utils::list_searchable< T >::find().

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

Definition at line 192 of file stl_extensions.h.

Referenced by mrpt::utils::list_searchable< T >::find().

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()", pointing to a given element.

Definition at line 212 of file stl_extensions.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()", pointing to a given element.

Definition at line 202 of file stl_extensions.h.

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

Definition at line 190 of file stl_extensions.h.




Page generated by Doxygen 1.6.2 for MRPT 0.8.1 SVN:exported at Mon Feb 15 22:01:07 UTC 2010