Function CStringHelper::assign_vector_string
Defined in File CStringHelper.h
Function Documentation
-
void CStringHelper::assign_vector_string(std::vector<std::string> cpp_string_vector, void *str_array, size_t size)
Assing to a rosidl_runtime_c__String the value contained in a vector of std::string.
This function stores the data contained in a C++ vector of strings in a rosidl_runtime_c__String fixed size sequence pointed by the str_array parameter.
- Parameters:
cpp_string_vector – C++ style vector of string containing data
str_array – Pointer containing the destination of the string sequence
size – Number of elements in the array