rclcpp  master
C++ ROS Client Library API
Functions
std Namespace Reference

Functions

std::string to_string (const rclcpp::parameter::ParameterVariant &param)
 Return a json encoded version of the parameter intended for a list. More...
 
std::string to_string (const std::vector< rclcpp::parameter::ParameterVariant > &parameters)
 Return a json encoded version of a vector of parameters, as a string. More...
 

Function Documentation

◆ to_string() [1/2]

std::string std::to_string ( const rclcpp::parameter::ParameterVariant param)

Return a json encoded version of the parameter intended for a list.

◆ to_string() [2/2]

std::string std::to_string ( const std::vector< rclcpp::parameter::ParameterVariant > &  parameters)

Return a json encoded version of a vector of parameters, as a string.