RMW desert 1.0
|
Namespace containing C sequence handling functions. More...
Go to the source code of this file.
Namespaces | |
namespace | CStringHelper |
Namespace containing C sequence handling functions. | |
Functions | |
std::string | CStringHelper::convert_to_std_string (void *str) |
Convert a rosidl_runtime_c__String into std::string. | |
std::vector< std::string > | CStringHelper::convert_to_std_vector_string (void *str_array, size_t size) |
Convert a rosidl_runtime_c__String into a vector of std::string. | |
std::vector< std::string > | CStringHelper::convert_sequence_to_std_vector_string (void *str_seq) |
Convert a rosidl_runtime_c__String__Sequence into a vector of std::string. | |
std::u16string | CStringHelper::convert_to_std_u16string (void *str) |
Convert a rosidl_runtime_c__U16String into std::u16string. | |
std::vector< std::u16string > | CStringHelper::convert_to_std_vector_u16string (void *str_array, size_t size) |
Convert a rosidl_runtime_c__U16String into a vector of std::u16string. | |
std::vector< std::u16string > | CStringHelper::convert_sequence_to_std_vector_u16string (void *str_seq) |
Convert a rosidl_runtime_c__U16String__Sequence into a vector of std::u16string. | |
void | CStringHelper::assign_string (std::string str, void *field) |
Assing to a rosidl_runtime_c__String the value contained in a std::string. | |
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. | |
void | CStringHelper::assign_vector_string_to_sequence (std::vector< std::string > cpp_string_vector, void *str_seq) |
Assing to a rosidl_runtime_c__String__Sequence the value contained in a vector of std::string. | |
void | CStringHelper::assign_u16string (std::u16string str, void *field) |
Assing to a rosidl_runtime_c__U16String the value contained in a std::u16string. | |
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. | |
void | CStringHelper::assign_vector_u16string_to_sequence (std::vector< std::u16string > cpp_string_vector, void *str_seq) |
Assing to a rosidl_runtime_c__U16String__Sequence the value contained in a vector of std::u16string. | |
Namespace containing C sequence handling functions.
The C data type implementation is more complicated than the C++ one, because complex types like vectors have to be manually managed and this header contains functions to convert C strings and generic sequences into respectively C++ strings and vectors.