Function rosidl_runtime_c_type_description_utils_repl_individual_type_description_type_names_in_place

Function Documentation

rcutils_ret_t rosidl_runtime_c_type_description_utils_repl_individual_type_description_type_names_in_place(rosidl_runtime_c__type_description__IndividualTypeDescription *individual_type_description, const char *from, const char *to)

In-place replace substrings in an individual description’s type name and nested names in fields.

This means the IndividualTypeDescription’s’ type_name will get replaced and all references to any nested_type_names in the description’s fields.

NOTE(methylDragon): This method is pretty inefficient because it doesn’t do checking and will re-copy all names.