Skip to content

Commit

Permalink
Support string vector conversion for ports
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Mar 19, 2024
1 parent 55a7b70 commit 70060e8
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 789 deletions.
5 changes: 5 additions & 0 deletions include/behaviortree_cpp/basic_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ template <>
template <>
[[nodiscard]] std::vector<double> convertFromString<std::vector<double>>(StringView str);

// Strings separated by the character ";"
template <>
[[nodiscard]] std::vector<std::string>
convertFromString<std::vector<std::string>>(StringView str);

// This recognizes either 0/1, true/false, TRUE/FALSE
template <>
[[nodiscard]] bool convertFromString<bool>(StringView str);
Expand Down
Loading

0 comments on commit 70060e8

Please sign in to comment.