libwolfram20

◆ splitTimedout()

std::vector< std::string > WAResult::splitTimedout ( const std::string &  s)
staticprivate

It stores the pods that are timedout into a vector.

Posted on https://stackoverflow.com/a/52690600/9178470

Author
eXpl0it3R
Parameters
[in]sPod names separated by ',' that are timedout. Empty string (not null) if any.
Returns
Timedout pods vector
89 {
90 std::vector<std::string> splits;
91 std::string split;
92 std::istringstream ss(s);
93 while (std::getline(ss, split, ',')) splits.push_back(split);
94 return splits;
95}