Template Function ros2_control::has_all_items(const std::vector<T>&, const std::vector<T>&)

Function Documentation

template<typename T>
bool ros2_control::has_all_items(const std::vector<T> &container, const std::vector<T> &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.