1 #include "ros_type_introspection/renamer.hpp> 3 int main(
int argc,
char** argv)
8 std::vector<SString> vect;
11 vect = {
"A",
"B",
"1",
"C",
"D"};
13 vect = {
"A",
"B",
"1",
"E",
"F"};
15 vect = {
"A",
"B",
"1",
"E",
"G"};
17 vect = {
"A",
"B",
"Y",
"ONE"};
19 vect = {
"A",
"B",
"1",
"C",
"B",
"1"};
21 vect = {
"A",
"Y",
"B",
"1",
"C"};
32 std::cout << tree << std::endl;
42 std::vector<const StringTreeNode*> heads;
47 std::cout <<
"Found: "<< heads.size() << std::endl;
49 for (
auto head: heads)
51 std::cout << std::make_pair( tree.
croot(), head) << std::endl;
int main(int argc, char **argv)
const TreeNode< T > * croot() const