Function plansys2::get_action_params

Function Documentation

std::vector<std::string> plansys2::get_action_params(const std::string &action_expr)

Parse the action parameter names from an input string.

Parameters:

action_expr[in] The input string. It can have one of these formats: “(<name> <param_1> … <param_n>)” “(<name> <param_1> … <param_n>):<time>”

Returns:

std::vector<std::string> A vector containing the names of the parameters.