#include <hpp/manipulation/container.hh>
|
void | add (const Key &name, const Element &element) |
| Add an element. More...
|
|
const Element & | get (const Key &name) const |
| Return the element named name. More...
|
|
template<typename ReturnType > |
ReturnType | getAllAs () const |
| Return a list of all elements. More...
|
|
const ElementMap_t & | getAll () const |
| Return the underlying map. More...
|
|
std::ostream & | print (std::ostream &os) const |
| Print object in a stream. More...
|
|
◆ ElementMap_t
template<typename Element, typename Key = std::string>
◆ Container()
template<typename Element, typename Key = std::string>
◆ add()
template<typename Element, typename Key = std::string>
◆ get()
template<typename Element, typename Key = std::string>
Return the element named name.
◆ getAll()
template<typename Element, typename Key = std::string>
Return the underlying map.
◆ getAllAs()
template<typename Element, typename Key = std::string>
template<typename ReturnType >
Return a list of all elements.
- Template Parameters
-
ReturnType | must have a push_back method. |
◆ print()
template<typename Element, typename Key = std::string>
Print object in a stream.