MCPcopy Create free account
hub / github.com/PDAL/PDAL / toStringList

Function toStringList

test/unit/ProgramArgsTest.cpp:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62{
63
64StringList toStringList(const std::string& s)
65{
66 StringList slist;
67
68 wordexp_t w;
69 wordexp(s.c_str(), &w, WRDE_SHOWERR);
70 for (size_t i = 0; i < w.we_wordc; ++i)
71 slist.push_back(w.we_wordv[i]);
72 wordfree(&w);
73 return slist;
74}
75
76}
77

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected