|
hpp-core 9.0.2
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/container.hh>
Public Types | |
| typedef std::map< Key, Types > | Map_t |
| typedef Map_t::value_type | value_type |
| typedef Map_t::key_type | key_type |
| typedef Map_t::mapped_type | mapped_type |
| typedef Map_t::const_iterator | const_iterator |
| typedef Map_t::iterator | iterator |
Public Member Functions | |
| void | erase (const Key &name) |
| Erase the element named name. | |
| void | clear () |
| Clear content of container. | |
| void | add (const key_type &name, const mapped_type &element) |
| Add an element. | |
| bool | has (const key_type &name) const |
| Return the element named name. | |
| const mapped_type & | get (const key_type &name) const |
| Return the element named name. | |
| const mapped_type & | get (const key_type &name, const mapped_type &defaultValue) const |
| Return the element named name. | |
| template<typename ReturnType> | |
| ReturnType | getAllAs () const |
| template<typename ReturnType> | |
| ReturnType | getKeys () const |
| std::ostream & | print (std::ostream &os) const |
| Print object in a stream. | |
Public Attributes | |
| Map_t | map |
| typedef Map_t::const_iterator hpp::core::Container< Types, Key >::const_iterator |
| typedef Map_t::iterator hpp::core::Container< Types, Key >::iterator |
| typedef Map_t::key_type hpp::core::Container< Types, Key >::key_type |
| typedef std::map<Key, Types> hpp::core::Container< Types, Key >::Map_t |
| typedef Map_t::mapped_type hpp::core::Container< Types, Key >::mapped_type |
| typedef Map_t::value_type hpp::core::Container< Types, Key >::value_type |
|
inline |
Add an element.
|
inline |
Clear content of container.
|
inline |
Erase the element named name.
|
inline |
Return the element named name.
|
inline |
Return the element named name.
|
inline |
Return a list of all elements
| ReturnType | must have a push_back method. |
|
inline |
|
inline |
Return the element named name.
|
inline |
Print object in a stream.
| Map_t hpp::core::Container< Types, Key >::map |