Function CStringHelper::assign_string
Defined in File CStringHelper.h
Function Documentation
-
void CStringHelper::assign_string(std::string str, void *field)
Assing to a rosidl_runtime_c__String the value contained in a std::string.
This function stores the data contained in a C++ string in a rosidl_runtime_c__String pointed by the field parameter.
- Parameters:
str – C++ style string containing data
field – Pointer containing the destination of the string