#include <collection.h>
Public Types | |
typedef ListType::const_iterator | const_iterator |
typedef ListType::const_iterator | iterator |
typedef std::list< Ptr > | ListType |
typedef std::map< key_type, WPtr > | MapType |
typedef boost::shared_ptr< T > | Ptr |
typedef boost::weak_ptr< T > | WPtr |
Public Member Functions | |
const Ptr & | add (const Ptr &p, const key_type &key) |
template<typename Derived > | |
boost::shared_ptr< Derived > | add (Derived *p) |
template<typename Derived > | |
boost::shared_ptr< Derived > | add (Derived *p, const key_type &key) |
const_iterator | begin () const |
void | clear () |
template<typename Derived > | |
const Ptr & | create () |
template<typename Derived > | |
const Ptr & | create (const key_type &key) |
bool | empty () const |
const_iterator | end () const |
Ptr | get (const key_type &key) const |
template<typename Derived > | |
boost::shared_ptr< Derived > | getType (const key_type &key) const |
std::size_t | size () const |
Private Attributes | |
ListType | list_ |
MapType | map_ |
Definition at line 42 of file collection.h.
typedef ListType::const_iterator hector_pose_estimation::Collection< T, key_type >::const_iterator |
Definition at line 49 of file collection.h.
typedef ListType::const_iterator hector_pose_estimation::Collection< T, key_type >::iterator |
Definition at line 48 of file collection.h.
typedef std::list<Ptr> hector_pose_estimation::Collection< T, key_type >::ListType |
Definition at line 46 of file collection.h.
typedef std::map<key_type, WPtr> hector_pose_estimation::Collection< T, key_type >::MapType |
Definition at line 47 of file collection.h.
typedef boost::shared_ptr<T> hector_pose_estimation::Collection< T, key_type >::Ptr |
Definition at line 44 of file collection.h.
typedef boost::weak_ptr<T> hector_pose_estimation::Collection< T, key_type >::WPtr |
Definition at line 45 of file collection.h.
const Ptr& hector_pose_estimation::Collection< T, key_type >::add | ( | const Ptr & | p, |
const key_type & | key | ||
) | [inline] |
Definition at line 51 of file collection.h.
boost::shared_ptr<Derived> hector_pose_estimation::Collection< T, key_type >::add | ( | Derived * | p | ) | [inline] |
Definition at line 57 of file collection.h.
boost::shared_ptr<Derived> hector_pose_estimation::Collection< T, key_type >::add | ( | Derived * | p, |
const key_type & | key | ||
) | [inline] |
Definition at line 58 of file collection.h.
const_iterator hector_pose_estimation::Collection< T, key_type >::begin | ( | ) | const [inline] |
Definition at line 92 of file collection.h.
void hector_pose_estimation::Collection< T, key_type >::clear | ( | ) | [inline] |
Definition at line 95 of file collection.h.
const Ptr& hector_pose_estimation::Collection< T, key_type >::create | ( | ) | [inline] |
Definition at line 60 of file collection.h.
const Ptr& hector_pose_estimation::Collection< T, key_type >::create | ( | const key_type & | key | ) | [inline] |
Definition at line 65 of file collection.h.
bool hector_pose_estimation::Collection< T, key_type >::empty | ( | ) | const [inline] |
Definition at line 90 of file collection.h.
const_iterator hector_pose_estimation::Collection< T, key_type >::end | ( | ) | const [inline] |
Definition at line 93 of file collection.h.
Ptr hector_pose_estimation::Collection< T, key_type >::get | ( | const key_type & | key | ) | const [inline] |
Definition at line 75 of file collection.h.
boost::shared_ptr<Derived> hector_pose_estimation::Collection< T, key_type >::getType | ( | const key_type & | key | ) | const [inline] |
Definition at line 86 of file collection.h.
std::size_t hector_pose_estimation::Collection< T, key_type >::size | ( | ) | const [inline] |
Definition at line 91 of file collection.h.
ListType hector_pose_estimation::Collection< T, key_type >::list_ [private] |
Definition at line 101 of file collection.h.
MapType hector_pose_estimation::Collection< T, key_type >::map_ [private] |
Definition at line 102 of file collection.h.