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