#include <create_behavior_tree_from_task_plan.hpp>
|
tl::expected< std::string, std::string > | parseToSubtreeXml (const std::vector< std::string > &action) const |
| Parse an action into an xml subtree snippet. More...
|
|
◆ SubtreeToKeysMap
◆ parseToSubtreeXml()
tl::expected<std::string, std::string> TaskPlanParser::parseToSubtreeXml |
( |
const std::vector< std::string > & |
action | ) |
const |
|
inline |
Parse an action into an xml subtree snippet.
- Parameters
-
action | The action to parse, represented as a vector of words |
- Returns
- A tl::expected wrapping a string representing the xml subtree snippet, and a string representing an error message which is set if the action could not be parsed.
◆ action_to_subtree
A mapping of a task action to its subtree and keys used in the subtree.
The documentation for this struct was generated from the following file: