Template Function ros2_control::has_all_items(const Container&, const std::vector<typename Container::key_type>&)

Function Documentation

template<typename Container>
bool ros2_control::has_all_items(const Container &container, const std::vector<typename Container::key_type> &items)

Check if the container has all of the items.

Parameters:
  • container – The container to search in.

  • items – The items to search for.

Returns:

True if the container has all of the items, false otherwise.